Skip to content

UTIL

166 extensions

Utilities

  • gzip

    gzip and gunzip functions.

  • bzip

    Bzip compression and decompression

  • zstd

    Zstandard compression algorithm implementation in PostgreSQL

  • http

    HTTP client for PostgreSQL, allows web page retrieval inside the database.

  • pg_net

    Async HTTP Requests

  • pg_curl

    Run curl actions for data transfer in URL syntax

  • pg_retry

    Retry SQL statements on transient errors with exponential backoff

  • pg_fsql

    Recursive SQL template engine with JSONB-driven execution

  • pg_protobuf

    Protobuf support for PostgreSQL

  • pgproto

    Native Protobuf parsing, mutation, indexing, and JSON conversion support

  • pglock

    Lightweight distributed lock service inside PostgreSQL

  • pg_lease

    SQL leases with TTL expiry and monotonically increasing fencing epochs

  • pgjq

    Use jq in Postgres

  • pg_json_diff

    JSONB diff, JSON Patch, and JSON Merge Patch functions

  • pgjwt

    JSON Web Token API for Postgresql

  • pg_smtp_client

    PostgreSQL extension to send email using SMTP

  • pg_html5_email_address

    PostgreSQL email validation that is consistent with the HTML5 spec

  • url_encode

    url_encode, url_decode functions

  • pgsql_tweaks

    Some functions and views for daily usage

  • pg_relation_sql

    Generate inlinable SQL functions for navigating PostgreSQL foreign-key relations

  • pg_extra_time

    Some date time functions and operators that,

  • pgpcre

    Perl Compatible Regular Expression functions

  • re2

    ClickHouse-compatible regex functions using RE2

  • icu_ext

    Access ICU functions

  • pgqr

    QR Code generator from PostgreSQL

  • envvar

    Fetch the value of an environment variable

  • byteamagic

    Detect MIME types and file formats from PostgreSQL bytea values

  • floatfile

    Simple file storage for arrays of floats

  • external_file

    Access external server-side files through PostgreSQL functions

  • pg_render

    Render HTML in SQL

  • pg_readme

    Generate a Markdown README from PostgreSQL COMMENT objects

  • pg_readme_test_extension

    Fixture extension used to test pg_readme document generation

  • ddl_historization

    Historize the ddl changes inside PostgreSQL database

  • data_historization

    PLPGSQL Script to historize data in partitionned table

  • schedoc

    Cross documentation between Django and DBT projects

  • pg_isok

    Query-based data integrity management and soft alerting for PostgreSQL

  • pg_describe

    Report a query's parameters and result columns without executing it

  • colnames

    Return column names of a record or composite value

  • hashlib

    Stable hash functions for Postgres

  • xxhash

    xxhash functions for PostgreSQL

  • shacrypt

    Implements SHA256-CRYPT and SHA512-CRYPT password encryption schemes

  • cryptint

    Encryption functions for int and bigint values

  • pguecc

    uECC bindings for Postgres

  • sparql

    Query SPARQL datasource with SQL

  • opencc

    OpenCC conversion between Simplified Chinese, Traditional Chinese, regional variants and Japanese Shinjitai

  • pg_simdjson

    Prototype SIMD-accelerated parser that converts JSON text to jsonb

  • emoji

    Pure SQL PostgreSQL extension to encode and decode bytea/text as emoji

  • postgres_protobuf

    C++ functions for querying protobuf values stored as bytea and converting Protocol Buffers to and from their JSON representation.

  • pg_lz4

    LZ4 compression access method for a patched PostgreSQL development branch.

  • pgsocket

    send bytes from PostgreSQL to a TCP/IP socket

  • foreign_table_exposer

    Exposes foreign tables as regular tables for catalog-based clients.

  • jsonbd

    Compression method for JSONB type

  • hostname

    Get the server host name

  • pg_markdown

    Pre-release Markdown-to-HTML conversion extension for PostgreSQL.

  • formatbase

    C functions to format numbers and parse strings by numeric base.

  • flate

    Raw DEFLATE compression and decompression functions for bytea

  • gunzip

    Decompress gzip-compressed bytea values to text or bytea.

  • compress

    C/C++ functions to compress text into Base64-encoded ZIP archives and extract text from them.

  • pg_grpc

    PostgreSQL gRPC

  • pg_htmldoc

    Converts HTML, Markdown, files or web pages to PDF, PostScript and other HTMLDOC output formats from PostgreSQL.

  • pg_mupdf

    Convert HTML to PDF inside PostgreSQL using MuPDF

  • pg_wkhtmltopdf

    Convert HTML pages to PDF bytea values inside PostgreSQL using wkhtmltopdf/QtWebKit.

  • pg_wthtmltopdf

    Render HTML into PDF from a PostgreSQL function.

  • pgbrotli

    Brotli compression and decompression functions for PostgreSQL.

  • pgcompress

    Provides deflate, inflate, gzip, and Brotli compression functions for bytea, text, json, and jsonb.

  • pgcurl

    Calls curl/libcurl from PostgreSQL through a SQL function.

  • pgreadfile

    Read and overwrite server-local files as bytea through C functions

  • pgsmtp

    Send SMTP email and file attachments from PostgreSQL using untrusted PL/Python functions.

  • pg_mustach

    PostgreSQL implementation of Mustache templating

  • pg_sendmail

    Sends email from SQL by invoking a sendmail-compatible executable at a fixed server path.

  • pg_collkey

    ICU collation function wrapper

  • pgunicoll

    Generate ICU Unicode Collation Algorithm sort keys for PostgreSQL text values.

  • musicbrainz_collate

    Provides Unicode Collation Algorithm support

  • conninfo

    Parse, validate, and inspect default values for PostgreSQL libpq conninfo strings

  • pg_fallback_utf8_to_euc_jp

    Provides a fallback UTF-8 to EUC_JP encoding conversion that substitutes unmappable characters with a question mark.

  • modeshape_bson

    PostgreSQL extension to convert ModeShape BSON to and from JSON

  • pg_sip

    Early-stage SIP extension exposing only a library version helper

  • pgrgraphic

    PL/R-based PostgreSQL extension that renders database query results as PNG or JPEG chart files.

  • pgzint

    Generate PNG barcodes and QR codes inside PostgreSQL with the Zint library

  • pjpg

    provide general-purpose SQL utilities for time zones and ranges

  • pg_udp

    Send UDP datagrams from a PostgreSQL function.

  • pgcodec7

    C extension that encodes and decodes bytea values using compact 7-bit or 6-bit text grouping.

  • myhelper

    Collection of PostgreSQL helper functions

  • plotpg

    plot PostgreSQL result sets and analytic functions with gnuplot

  • zlib

    zlib decompress function for PostgreSQL.

  • replace_empty_string

    C trigger function that replaces empty strings with NULL

  • rpg_base36

    Toy Rust extension exposing a base36 encoder for PostgreSQL integers.

  • pgsynck

    Parse SQL text without execution and return per-statement syntax diagnostics

  • pg_primal

    Primal database extension used by the Primal Nostr cache server.

  • pg_ibc_0_1

    PostgreSQL extension for decoding and handling IBC protocol data types

  • mumak

    Cardano CBOR parser

  • postgreChain

    Query Solana RPC data and perform wallet, airdrop, and transfer operations directly from PostgreSQL

  • pgtera

    render Tera HTML templates inside PostgreSQL

  • symbiotic_python

    Prototype pgrx/Python bridge that creates per-database virtual environments and launches an asyncpg LISTEN service.

  • pg_idna

    WHATWG URL IDNA helpers for PostgreSQL

  • pg_bech32

    Adds Bech32, Bech32m, and no-checksum Bech32 encoding/decoding support to PostgreSQL.

  • bfn

    Rust/pgrx utility extension with UUID, date, string, JSON/address, and validation helper functions.

  • pg_logfmt

    Parse logfmt strings into JSONB and key sets

  • pgzstd_rs

    Compress and decompress bytea values with Zstandard from PostgreSQL, including a parallel batch compressor

  • all_in_one_lib

    Rust/pgrx utility extension with encryption helpers and a sample FDW wrapper.

  • pglas

    Reads LAS 2.0 well logging files from PostgreSQL functions

  • visualizing_aggregates

    Experimental aggregate visualization and CodePen graph function

  • pg_ffmpeg

    Exposes FFmpeg media processing functions inside PostgreSQL through a pgrx extension.

  • sixql

    Experimental pgrx extension attempting to render SIXEL plots through PostgreSQL server output for compatible terminals.

  • pg_dagdb

    PostgreSQL SQL client extension for the DagDB graph engine daemon.

  • aws_commons

    Common helper objects used by Amazon RDS/Aurora PostgreSQL AWS extensions.

  • aws_lambda

    Amazon RDS for PostgreSQL extension for invoking AWS Lambda functions from SQL.

  • pg_consul

    C++ PostgreSQL extension exposing SQL functions for Consul status, catalog, and key-value APIs.

  • pg_headerkit

    PostgreSQL SQL functions for reading PostgREST request headers inside database code

  • pg_opendal

    Access storage backends through Apache OpenDAL from PostgreSQL functions.

  • pgfs

    PostgreSQL extension for copying files on the server filesystem through SQL.

  • rpc

    Synchronous JSON-to-JSON RPC client for PostgreSQL over a Unix domain socket, with a companion Go server example

  • s3_io

    Basic Amazon S3-compatible object I/O through PostgreSQL SQL functions.

  • stripe

    Experimental generated SQL/PLPython SDK for calling the Stripe REST API from PostgreSQL.

  • texcaller

    PostgreSQL functions for converting TeX or LaTeX source to DVI or PDF.

  • pg_https

    HTTP/HTTPS client functions for PostgreSQL using libcurl

  • pg_debyte_ext

    Example PostgreSQL extension for decoding bytea payloads to JSON using pg_debyte Rust crates.

  • pg-gvm

    Functions for GVMd

  • async_response

    PostgreSQL - Multiple asynchronous responses in one query

  • believe

    The official PostgreSQL extension for the Believe API.

  • bytea_exif

    PostgreSQL extension for EXIF data reading from bytea value of image and MIME type check

  • describe_resultset

    PostgreSQL extension to show names, data types, and attributes of columns in an arbitrary result set

  • dump_fcinfo

    Dumps the PostgreSQL fcinfo and rsinfo

  • emojigresql

    🐘 EmojigreSQL: A pure SQL PostgreSQL extension to encode/decode binary data (bytea) and text into colorful emoji sequences! ✨ Includes basic checksum validation.

  • launchql-extension-utils

    PostgreSQL utilities

  • olirice-asciiplot

    A Toy ASCII Plotting Library

  • pg_base62

    Encode UUID values to URL-safe Base62 strings and decode them back.

  • pg_flatbuffers

    pg_flatbuffers: query and convert FlatBuffers payloads in bytea columns

  • pg_gnuplot

    PostgreSQL extension to plot graphs using GNUPlot

  • pg_grex

    A dynamic regex builder for PgSQL

  • pg_handlebars

    PostgreSQL handlebars

  • pg_jq

    Toy extension exposing libjq filters for PostgreSQL json and jsonb values.

  • pg_sqlite_fs

    SQLite File System creation

  • pg_ssh

    Run remote commands over SSH from PostgreSQL (libssh2; in-memory private-key auth)

  • pg_tigerbeetle

    Experimental Zig extension for looking up TigerBeetle accounts from PostgreSQL.

  • pg_utility_trigger_functions

    Some pet trigger functions that the extension author likes to follow him through various PostgreSQL projects.

  • pg_wsl

    PostgreSQL extension to write from primary to standby log

  • pgerror

    Tools for better error handling

  • pgjsonrpc

    A JSON-RPC 2.0 implementation

  • pgmpc

    mpd client for PostgreSQL

  • pgpm-base32

    Base32 encoding and decoding functions for PostgreSQL.

  • pgx_basex_codec

    BaseX encoding and decoding for bytea and text, including Base64url and Crockford Base32.

  • pgyaml

    transform between yaml and jsonb

  • skitch-extension-utils

    PostgreSQL utilities

  • trunklet

    A templating system for Postgres. Elephants don't use templates, they use trunklets!

  • trunklet-format

    A format()-based template language for trunklet

  • wbase64

    Base64 PostgreSQL Extension

  • oxr

    OpenExchangeRates API client and currency-rate cache inside PostgreSQL.

  • pg_algorand

    Algorand address, application, asset, transaction, and checksum encoding utilities.

  • pg_punycode

    Punycode and IDNA/UTS-46 domain-name conversion functions.

  • pg_zerialize

    Binary serialization and deserialization for MessagePack, CBOR, ZERA, FlexBuffers, Ion, BSON, and BEVE.

  • postxml

    XML and XSLT transformation helpers for building hypermedia documents in PostgreSQL.

  • pgcache

    SQL key/value cache with JSONB values and expiration

  • snout_net

    Queue asynchronous HTTP requests from PostgreSQL through a background worker

  • gms_compress

    openGauss compression utilities for RAW and BLOB values

  • compression_test

    Backend utilities for experimenting with PostgreSQL pglz compression

  • version_check

    Version-specific PostgreSQL major-version predicates.

  • warren_surveyor_pg

    Planner measurements from existing indexes through the surveyor access method

  • infra-utils

    Compile typed resource parameters into validated JSONB specifications.

  • assert

    SQL assertions for database tests

  • pg_webrtc

    Early WebRTC runtime boundary for PostgreSQL with a preloaded background worker.

  • romantic_collation

    Deterministic natural ordering through binary sort keys.

  • pgtier

    Linux cgroup tier assignment for an experimental sched_ext scheduler

  • query_schema

    Describe query result types and nullability as Effect schemas

  • pg_wget

    Retrieve HTTP response text through the server-side wget program.

  • pg_http

    AlohaDB synchronous plain-HTTP client functions