Postgres extensions ΒΆ

Postgres supports extensions bundled with PostgreSQL and extensions mounted from platform image catalogs. Available extensions are not necessarily enabled in your database. plpgsql is installed by default; the platform manages pgaudit and pg_stat_statements.

Additional extensions ΒΆ

Extension namePurpose
pgauditSQL audit logging, configured by the platform
pg_stat_statementsQuery statistics, configured by the platform
postgisSpatial data and queries, mounted from the image catalog
timescaledbTime-series data, mounted from the image catalog and preloaded by the platform
vectorVector storage and similarity search (pgvector)

The extension names are vector for pgvector and timescaledb for TimescaleDB, not pgvector or timescaledb-oss. The platform-managed extensions pgaudit and pg_stat_statements cannot be requested in spec.extensions.

Supported bundled extensions ΒΆ

AreaExtension names
Indexes and searchbloom, btree_gin, btree_gist, pg_trgm
Data types and textcitext, cube, earthdistance, fuzzystrmatch, hstore, intarray, isn, ltree, seg, unaccent
Functions and utilitieslo, pgcrypto, tablefunc, tcn
Inspection and maintenanceamcheck, pageinspect, pg_buffercache, pg_freespacemap, pg_logicalinspect, pg_prewarm, pg_visibility, pg_walinspect, pgrowlocks, pgstattuple, sslinfo
Samplingtsm_system_rows, tsm_system_time
Procedural languageplpgsql

Inclusion in the image does not grant superuser privileges or access to server files and external hosts. Extension-specific privileges and network restrictions still apply.

Configuration and inspection ΒΆ

spec.extensions lists extensions to enable in the application database. For example:

yaml

Console exposes extension selection when creating or editing a database. When cloning, source extensions are kept and additional available extensions can be selected. The CLI create, update and clone commands do not expose extension selection; clone inherits the source's extensions. Declarative configuration uses the Postgres manifest.

The manifest reference lists the accepted extension names. Console lists the extensions available in the selected environment.

PostgreSQL exposes the extensions available in the running image through pg_available_extensions:

sql