Snowflake Postgres Extensions¶
Extensions allow for expanded functionality within Postgres, without requiring a new version of Postgres to be released. Extensions can enable new functionality including data types and functions.
You can see a list of all available extensions by querying your database:
SELECT * FROM pg_available_extensions
You can see all extensions that are already enabled by executing:
SELECT * FROM pg_extension;
or \dx in psql.
Extensions are enabled by the admin user by running:
CREATE EXTENSION extensionname;
Procedural language - PL/PgSQL¶
While also a category of extension, procedural languages allow you to write custom functions to be executed within your database. We currently support PL/PgSQL.
Current catalog of extensions¶
Extension |
Type of extension |
Summary |
Command to create |
|---|---|---|---|
Address Standardizer |
Functions |
Used to parse an address into constituent elements |
|
Address Standardizer (US) |
Functions |
Data for standardizing US addresses |
|
Adminpack |
Functions |
Administrative functions for Postgres |
|
Amcheck |
Functions |
Functions for verifying relation integrity |
|
Audit |
Functions |
Audit user actions |
|
Auto explain |
Logging |
Automatically log execution plans of slow statements |
See auto_explain (https://docs.crunchybridge.com/extensions-and-languages/auto_explain) |
Auto Increment |
Functions |
Provides function for storing the next value of a sequence in an integer field |
|
Bloom |
Index types |
Provides a bloom filter index type |
|
Btree GIN |
Index types |
Support for indexing common data types in GIN |
|
Btree GIST |
Index types |
Support for indexing common data types in GiST |
|
Buffer Cache |
Views |
Examine the shared buffer cache |
|
Case insensitive text |
Data type |
Case insensitive text data type |
|
Cron |
Functions |
Create scheduled tasks |
|
Crypto |
Functions |
Functions for encrypting data inside columns |
|
Cube |
Data type |
Data type for multi-dimensional cubes |
|
DDL Extractor |
Functions |
DDL eXtractor functions |
|
dict-int |
Dictionaries |
Full text search dictionary template for integers |
|
dict-xsyn |
Dictionaries |
Full text search dictionary template for extended synonym processing |
|
Earth Distance |
Functions |
Functions that assist with computing the distance between points. |
|
Free Space Map |
Functions |
Examine the free space map (FSM) |
|
Fuzzy String Match |
Functions |
Functions for comparing similarity between strings |
|
H3 |
Functions |
H3 bindings for Postgres |
|
Hint plan |
Functions |
Adjust PostgreSQL execution plans using “hints” in SQL comments (more info (https://github.com/ossc-db/pg_hint_plan)) |
|
Hstore |
Data type |
Key value data type |
|
HTTP Client |
Functions |
HTTP client for PostgreSQL, allows web page retrieval inside the database. |
|
Hypopg |
Functions |
Hypothetical indexes |
|
Incremental |
Functions |
Incremental batch processing |
|
Insert Username |
Functions |
Will place the current Postgres username in a text field |
|
Integer Aggregator |
Functions |
Integer aggregator and enumerator |
|
Integer Array |
Functions |
Sorting and manipulation of integer arrays |
|
ISN |
Data type |
Data type for product numbering (including UPC, ISBN, ISSN) |
|
IVM |
Functions |
Incremental View Maintenance |
|
Large Object |
Data type |
Specialized large object data type |
|
Label Tree |
Data type |
Data type for tree-like structures |
|
Logical |
Functions |
Helper functions for PostgreSQL Logical Replication |
|
Modification Time |
Functions |
Will place the current timestamp into a timestamp field |
|
Orafce |
Functions |
Emulate Oracle functions |
|
Page Inspect |
Functions |
Inspect the contents of database pages at a low level |
|
Row Locking |
Functions |
Show row-level locking information |
|
Partman |
Functions |
Create and manage both time-based and serial-based table partition sets |
|
PostGIS |
Geospatial utilities |
PostGIS geometry, geography, and raster spatial types and functions |
See PostGIS (https://docs.crunchybridge.com/extensions-and-languages/postgis) |
PostGIS Raster |
Geospatial utilities |
PostGIS raster types and functions |
|
PostGIS SFCGAL |
Geospatial utilities |
PostGIS SFCGAL functions |
|
PostGIS Tiger Geocoder |
Geospatial utilities |
PostGIS tiger geocoder and reverse geocoder |
|
PostGIS Topology |
Geospatial utilities |
PostGIS topology spatial types and functions |
|
Postgres FDW |
Foreign Data Wrapper |
Foreign data wrapper for connecting to other Postgres databases |
|
Prewarm |
Functions |
Utilities to prewarm your cache, helpful for standby failover |
|
Proctab |
Functions |
Access operating system process tables from PostgreSQL |
|
Refint |
Functions |
Functions for referential integrity |
|
Repack |
Functions |
Remove bloat from tables and indexes (See also pg_squeeze) |
|
Routing |
Geospatial utilities |
Routing functionality |
|
Semver |
Data type |
Data type for the Semantic Version format with support for btree and hash indexing |
|
Surgery |
Functions |
Corrective actions on corruption or damaged data |
|
Seg |
Data type |
Data type for representing floating point intervals or segments |
|
SSL Info |
Functions |
Ability to query SSL information based on who is |
|
Stat statements |
Views |
Track planning and execution statistics of all SQL statements executed |
|
Stat Tuple |
Functions |
Show tuple-level statistics |
|
Squeeze |
Functions |
Remove bloat from tables and indexes. A modern alternative to pg_repack. See pg_squeeze docs (https://github.com/cybertec-postgresql/pg_squeeze). |
|
Table functions |
Functions |
Functions for cubing and rollups of tables |
|
Table sampling (system rows) |
Functions |
Functions to provide sampling of system tables |
|
Table sampling (system time) |
Functions |
Functions to provide sampling of system time |
|
Trigger change notifications |
Functions |
Functions for listening to changes on tables |
|
Trigram |
Functions |
Matching and similarity of strings |
|
Unaccent |
Dictionaries |
Text search dictionary that removes accents |
|
Visibility |
Functions |
Examine the visibility map (VM) and page-level visibility info |
|
Vector |
Functions |
Vector (pgvector) data type and ivfflat access method |
|
ULID |
Functions |
Generate universally unique lexicographically sortable identifiers (ULIDs) |
|
uuid-ossp |
Functions |
Generate universally unique identifiers (UUIDs) |
|
uuidv7 |
Functions |
Generate version 7 universally unique identifiers (UUIDs) |
|
WAL inspect |
Functions |
Inspect contents of WAL |
|
xml2 |
Functions |
XPath querying and XSLT |
|