CREATE EXTENSION "postgis" | Partial | PostgreSQL Extension | CockroachDB supports , , and many . Not all PostGIS functions are supported. |
CREATE EXTENSION "pg_trgm" | Partial | PostgreSQL Extension | CockroachDB supports and trigram functions and operators for fuzzy string matching and pattern matching. Some PostgreSQL pg_trgm syntax and features are not supported. |
CREATE EXTENSION "fuzzystrmatch" | ✓ | Common Extension | Provides PostgreSQL-compatible fuzzy string matching functions including soundex(), difference(), levenshtein(), and metaphone(). |
CREATE EXTENSION "pgcrypto" | Partial | PostgreSQL Extension | CockroachDB supports some PostgreSQL-compatible , including crypt(), digest(), gen_random_uuid(), gen_salt(), and hmac(). CockroachDB also supports such as encrypt(), encrypt_iv(), decrypt(), and decrypt_iv(). CockroachDB does not support every PostgreSQL pgcrypto function. |
CREATE EXTENSION "uuid-ossp" | ✓ | Common Extension | Provides access to several additional . |
CREATE EXTENSION "btree_gin"
CREATE EXTENSION "btree_gist" | ✗ | PostgreSQL Extension | CockroachDB does not support PostgreSQL btree_gin or btree_gist operator class extensions. Depending on the use case, use CockroachDB , , , or . |
CREATE EXTENSION "postgres_fdw" | ✗ | PostgreSQL Extension | CockroachDB does not support PostgreSQL foreign data wrappers. To reference objects in another database in the same CockroachDB cluster, use , subject to the limitations for cross-database object references. |
CREATE EXTENSION "citext" | ✗ | PostgreSQL Extension | CockroachDB does not support the PostgreSQL citext extension. For case-insensitive matching, use SQL expressions such as lower() or case-insensitive pattern matching with ILIKE, depending on the query. |
CREATE EXTENSION "pg_stat_statements" | ✗ | PostgreSQL Extension | CockroachDB does not support the PostgreSQL pg_stat_statements extension. Use CockroachDB and SQL observability features instead. |