DocsFeatures
View as MarkdownExtensions
The PostgreSQL extensions you can create yourself, the catalog extensions KeelDB enables for you (pgvector, PostGIS, pg_cron, TimescaleDB), and what each needs.
Your database's owner role (<database>_owner) is not a superuser. It can create any extension PostgreSQL marks as trusted with a plain CREATE EXTENSION. Other extensions need more rights, so KeelDB enables them for you from its catalog.
List what is available and what is installed:
-- Everything the server can install
SELECT name, default_version, installed_version FROM pg_available_extensions ORDER BY name;
-- What this database has installed
SELECT extname, extversion FROM pg_extension ORDER BY extname;Installed in every database
| Extension | What it does |
|---|---|
pg_stat_statements | Query statistics. Powers Query insights |
plpgsql | PostgreSQL's procedural language |
KeelDB also loads pg_prewarm on every database, so caches refill after a wake, a restart or a failover.
Extensions you can create yourself
These are trusted, so your owner role creates them directly, on PostgreSQL 18, 17 and 16:
CREATE EXTENSION IF NOT EXISTS pg_trgm;| Extension | What it does |
|---|---|
btree_gin, btree_gist | B-tree behavior for GIN and GiST indexes, for example in exclusion constraints |
citext | Case-insensitive text |
cube | Multi-dimensional cubes |
dict_int | Text search dictionary for integers |
fuzzystrmatch | Levenshtein distance, Soundex and Metaphone |
hstore | Key and value pairs in one column |
intarray | Functions and indexes for integer arrays |
isn | ISBN, ISSN and other product number types |
lo | Large object maintenance |
ltree | Tree paths such as top.science.astronomy |
pg_trgm | Trigram similarity and fast LIKE and ILIKE searches |
pgcrypto | Hashing and encryption functions |
seg | Line segments and floating point intervals |
tablefunc | crosstab and other table functions |
tcn | Notifications when table contents change |
tsm_system_rows, tsm_system_time | Table sampling methods |
unaccent | Text search dictionary that removes accents |
uuid-ossp | UUID generators. On PostgreSQL 13 and newer, gen_random_uuid() needs no extension |
Catalog extensions
These need rights your role does not have, or a setting loaded when PostgreSQL starts, so KeelDB installs them for you. Turn them on from the database's Settings in the console, or with the API.
| Extension | What it does | PostgreSQL | Restart when turned on |
|---|---|---|---|
vector (pgvector) | Vector similarity search for embeddings, with HNSW and IVFFlat indexes | 18, 17 and 16 | No |
postgis | Geographic objects, spatial indexes and functions | 18 | No |
postgis_topology, postgis_raster, address_standardizer | Topology models, raster data and postal address parsing, on top of PostGIS (the first two turn PostGIS on with them) | 18 | No |
pg_cron | Run SQL on a schedule inside the database. Jobs run as the role that scheduled them, at most 4 at a time | 18 | Yes, once |
timescaledb (Apache 2 edition) | Time-series tables (hypertables) and time functions. The Apache 2 edition leaves out TimescaleDB's community-licensed features, such as compression and continuous aggregates | 18 | Yes, once |
postgres_fdw | Query tables in other PostgreSQL databases as if they were local. Your owner role gets usage of the wrapper. Launch and Dedicated only | 18, 17 and 16 | No |
dblink | Run queries on other PostgreSQL databases from within a query. Launch and Dedicated only | 18, 17 and 16 | No |
bloom | Bloom filter indexes for equality queries over many columns | 18, 17 and 16 | No |
earthdistance | Great-circle distances on the Earth's surface, without PostGIS (turns cube on with it) | 18, 17 and 16 | No |
moddatetime | Trigger function that keeps an updated_at column current | 18, 17 and 16 | No |
- PostGIS, pg_cron and TimescaleDB come as separate extension images that KeelDB mounts into your database. PostgreSQL loads extensions from such images only from version 18, so these three need PostgreSQL 18, the default for new databases.
pg_cronandtimescaledbmust be loaded when PostgreSQL starts, so turning one on restarts the database once. The console tells you before you confirm. On HA databases KeelDB switches over to a standby first, so writes pause only briefly.postgres_fdwanddblinklet the database open connections to other servers and send them data, which does not pass through KeelDB's proxies where the Free egress limit is counted, so they are available on Launch and Dedicated only.- Once a catalog extension is installed, you use it like any other: create tables, indexes and functions with your owner role.
- Turning one off drops it from the database. KeelDB refuses while tables, columns, indexes or functions still use it, or while another enabled extension needs it.
- Branches and restored databases keep the extensions of their parent.
Not available
- Extensions that need a superuser at run time, read or write server files, or run untrusted languages, such as
file_fdw,pageinspect,plpython3uorplperlu. - Extensions that are not in the image or the catalog. If you need one, tell us from the console: we add extensions to the catalog when we can run them safely for every customer.
When you migrate from another provider, list the source's extensions first and check them against this page.