Skip to content

TYPE

226 extensions

Data Types

  • prefix

    Prefix Range module for PostgreSQL

  • semver

    Semantic version data type

  • pg_text_semver

    Semantic version domain and comparison operators for PostgreSQL

  • pg_lexo

    Lexicographic position type for inserting and reordering list items

  • codesystem

    Hierarchical classification code types with validation and revision tracking

  • unit

    SI units extension

  • pgpdf

    PDF type with meta admin & Full-Text Search

  • pglite_fusion

    Embed an SQLite database in your PostgreSQL table

  • md5hash

    type for storing 128-bit binary data inline

  • asn1oid

    asn1oid extension

  • roaringbitmap

    support for Roaring Bitmaps

  • pgfaceting

    fast faceting queries using an inverted index

  • pg_sphere

    spherical objects with useful functions, operators and index support

  • country

    Country data type, ISO 3166-1

  • pg_xenophile

    More than the bare necessities for PostgreSQL i18n and l10n.

  • l10n_table_dependent_extension

    PostgreSQL l10n toolbox

  • currency

    Custom PostgreSQL currency type in 1Byte

  • iban

    International Bank Account Number type with format and checksum validation

  • pg_money

    Exact currency-aware monetary types, arithmetic, and allocation

  • collection

    Associative-array data types for high-performance PL/pgSQL workflows

  • istore

    Integer key/value types with arithmetic, aggregation, and GIN indexing

  • pgmp

    Multiple Precision Arithmetic extension

  • numeral

    numeral datatypes extension

  • pg_rational

    Precise fractions stored as two 32-bit integers

  • uint

    unsigned integer types

  • uint128

    Native uint128 type

  • hashtypes

    sha1, md5 and other data types for PostgreSQL

  • postbis

    Adds compressed DNA, RNA, amino-acid, and aligned sequence types with casts, operators, indexes, and bioinformatics functions.

  • ip4r

    IPv4/v6 and IPv4/v6 range index type for PostgreSQL

  • uri

    URI Data type for PostgreSQL

  • emailaddr

    Email address type for PostgreSQL

  • postcode

    UK and international postal code types with validation and indexed prefix search

  • acl

    ACL Data type

  • debversion

    Debian version number data type

  • pg_duration

    data type for representing durations

  • pg_bikram_sambat

    Bikram Sambat date type and AD/BS conversion functions

  • pg_nanotime

    Nanosecond timestamp and fixed-duration interval types

  • pg_rrule

    RRULE field type for PostgreSQL

  • pgcalendar

    Recurring calendar, schedule, and exception management for PostgreSQL

  • timestamp9

    timestamp nanosecond resolution

  • pgbson

    BSON data type and accessor functions for PostgreSQL

  • chkpass

    data type for auto-encrypted passwords

  • isn

    data types for international product numbering standards

  • seg

    data type for representing line segments or floating-point intervals

  • cube

    data type for multidimensional cubes

  • ltree

    data type for hierarchical tree-like structures

  • hstore

    data type for storing sets of (key, value) pairs

  • citext

    data type for case-insensitive character strings

  • xml2

    XPath querying and XSLT

  • zson

    Dictionary-trained compressed JSONB-compatible type with transparent casts and JSONB operators.

  • ccnumber

    data type representing encrypted CC numbers

  • fixeddecimal

    Fixed-precision decimal type optimized for performance and storage.

  • pg_libphonenumber

    Adds a packed phone-number type and parsing functions backed by Google libphonenumber.

  • pair

    A key/value pair data type for PostgreSQL

  • bignum

    Unlimited precision integers for PostgreSQL

  • timestampandtz

    C data type that stores a timestamp together with its source time-zone identity, with casts, operators, indexing, and date/time functions.

  • tinyint

    One-byte signed integer type with arithmetic, casts, aggregates, and B-tree, hash, and GIN operator classes.

  • wltree

    data type for hierarchical tree-like structures with wide character support

  • cert

    PostgreSQL data types and functions for X.509 certificates, certificate requests, and related OpenSSL objects.

  • postgres_security

    Define a schema-local text type that duplicates PostgreSQL text storage and I/O behavior

  • cas

    CAS Registry Number data type for PostgreSQL.

  • complex

    Complex-number data type for PostgreSQL.

  • damm

    SQL implementation of the Damm check digit algorithm with a damm_code domain and helper functions.

  • inetrange

    Range type for PostgreSQL inet values with range operators and GiST indexing support.

  • italian_codes

    Validation domains for Italian fiscal and VAT codes

  • lpathtree

    Hierarchical path types using slash-separated labels

  • ntext

    Japanese normalized-comparison text type for UTF-8 strings

  • device_type

    Fixed-byte enum-like data type for mobile device types with comparison operators and btree/hash operator classes.

  • pg_digest

    Data type for efficient storage of hash digests in PostgreSQL.

  • language

    Custom PostgreSQL language enumeration type

  • numhstore

    Adds inthstore and floathstore numeric hstore types and helpers

  • ruid

    Compact 22-character Base64 representation of PostgreSQL UUID values.

  • salesforce_id

    Compact 12-byte PostgreSQL type with casts, comparison operators, and B-tree/hash operator classes for Salesforce IDs.

  • span

    C data type for indexed document text spans, with casts, comparisons, B-tree/hash operator classes, aggregates, and accessors.

  • ajbool

    Three-valued boolean type with a pseudo-NULL unknown state for primary keys.

  • base32_4b

    Base32 data type stored in four bytes with comparison operators.

  • boolean_cascaded

    Composite boolean status type with operators and trigger helper for cascaded parent-child status.

  • numeric_domains

    Custom numeric domains for PostgreSQL

  • password

    PostgreSQL data type for passwords

  • ajversion

    Semantic version type for PostgreSQL backed by compact integer storage.

  • cbor

    Concise Binary Object Representation data type for PostgreSQL.

  • pg_imputed_genotype

    Store imputed-genotype probability triples in a packed four-byte PostgreSQL type.

  • pg_nanp

    Validated and consistently formatted North American Numbering Plan data type

  • pg_fraction

    Adds a fraction data type with arithmetic, comparison, aggregate and B-tree operator-class support.

  • pg_genotype

    Provides a compact one-byte genotype type that preserves allele order and supports insertion and deletion symbols.

  • pg_postal_code_ca

    an efficient, validated, formatted Canadian postal code type

  • knx

    data types for KNX Addresses

  • pgopenssltypes

    PostgreSQL extension that stores and manipulates OpenSSL cryptographic types and functionality.

  • pg_color

    Color data type for PostgreSQL

  • pg_datatype_password

    SQL-only password data type and operators using pgcrypto Blowfish hashes, with trigger-based encryption before storage.

  • pguri

    provide indexable URI and domain-name types and URI text search

  • uints

    C extension providing unsigned 16-bit and 32-bit integer types with casts, operators, and numeric support functions.

  • evr

    PostgreSQL extension for RPM epoch/version/release datatype parsing.

  • hamradio

    ham radio extension

  • telephone

    PostgreSQL data type for normalized telephone numbers with dialing-plan validation.

  • text_domains

    Pure-SQL collection of constrained PostgreSQL text domains for nonempty, alphabetic, alphanumeric, case-specific, and fixed-length values.

  • pg_txn_status

    One-byte txn_status data type for storing transaction state values.

  • url

    SQL and PL/pgSQL types and helper functions for URL parsing, encoding, decoding, and query-string key/value handling.

  • vercomp

    Deprecated semantic-version data type and comparison operators

  • pgbrtypes

    Brazilian CPF and CNPJ data types with validation, formatting, casts, and indexing support

  • crockford

    Crockford Base32 encoded unsigned integer data types

  • decibel

    Decibel data type with pressure conversions, arithmetic operators, comparisons, and aggregates

  • decimal

    Decimal32 and decimal64 decimal floating-point data types with arithmetic and casts

  • libversion

    Version string comparison functions and versiontext type using libversion

  • number

    Variable-width integer data type for PostgreSQL

  • vpack

    VelocyPack data type, path type, operators, casts, and JSON/BSON conversion support for PostgreSQL.

  • uniqueidentifier

    Legacy 16-byte uniqueidentifier data type, comparison operators, casts, and newid() generation for PostgreSQL.

  • variant

    Variant data type that can store values from other PostgreSQL types.

  • datalink

    SQL/MED DATALINK data type and functions for controlled access to files outside PostgreSQL

  • email

    Email address data type with validation, equality operators, and user/domain helper functions.

  • pg_msgpack

    MessagePack data type with JSON and bytea casts and access operators

  • pg_thrift

    Encode, decode, and query Apache Thrift binary and compact protocol values in PostgreSQL.

  • pgsfti

    PostgreSQL data type for simple trapezoidal fuzzy time intervals and fuzzy temporal relations.

  • chess_index

    Data types for indexing chess positions.

  • jsonb_schema

    jsonb with separately stored schema

  • ksj

    Japanese kanji-numeral integer type with arithmetic, aggregates, casts, comparison, and B-tree indexing

  • b64enc

    Rust/C extension that defines a b64enc base type with URL-safe Base64 input and output functions.

  • cranges

    Closed forms of PostgreSQL discrete built-in ranges

  • intpair

    Packed int64pair data type with comparison, hash, and index operator support.

  • jansson-json

    JSON data type, operators, and functions backed by the Jansson JSON library.

  • pg_vartype

    Multiple scalar types in a single column

  • eigen

    New array types and linear-algebra functions based on the Eigen numerical template library.

  • pgsql_rrule

    Pure SQL PostgreSQL data types and functions for parsing and expanding RFC 5545 recurrence rules.

  • utinyint

    One-byte unsigned integer type with casts to smallint, integer, and boolean.

  • upid_pg

    Prefixed, sortable 128-bit identifier type and generator

  • pg_ferroid

    PostgreSQL ULID type and generation functions backed by ferroid

  • cas_codes

    CAS Registry Number data type and validation support for PostgreSQL.

  • elements

    Chemical elements and isotope metadata exposed as PostgreSQL enum types through pgrx.

  • iso_codes

    ISO country code enum/data types for PostgreSQL, generated with pgrx.

  • media_types

    Strongly typed MIME media-type data type for PostgreSQL

  • molecular_formulas

    Molecular-formula parser and strongly typed PostgreSQL data type

  • pg_chainutils

    Blockchain utility types and functions for PostgreSQL, built with pgrx.

  • postgreth

    A pgrx extension providing Ethereum bloom/address/hash types plus Solidity ABI item and event-log decoding to JSONB.

  • optim

    Experimental pgrx extension defining optimization-direction and hyperparameter trial types.

  • ulid

    Embedded pgrx ULID type, generators, and casts

  • conda_pgsql_rust_ext

    Conda version data type and helpers for PostgreSQL, implemented with pgrx and rattler_conda_types.

  • condaversion

    Conda package version number data type implemented as a C++ PostgreSQL extension.

  • pg_conda

    PostgreSQL extension adding conda ecosystem version types, aggregates, and functions.

  • pg_temporal

    PostgreSQL extension adding Temporal ZonedDateTime support.

  • phone_number

    A pgrx PostgreSQL data type and random generator for structured mobile phone numbers.

  • chess

    SAN and FEN chess notation data types and functions for PostgreSQL

  • pg_address

    Extension creates composite type to store address

  • pg_nanoid

    PostgreSQL extension adding a NanoID type and NanoID generation functions.

  • pg_prob

    Probabilistic data types for PostgreSQL - Monte Carlo simulation in SQL

  • pg_sexp

    Adds a compact S-expression type with parsing, list operations, matching, containment, and hash/GIN indexing.

  • plid

    A 128-bit, lexicographically sortable PostgreSQL PLID type with short prefixes, millisecond timestamps, randomness, and optional monotonic generation.

  • postgres_web3

    Optimized PostgreSQL types and operators for 128/256-bit signed and unsigned integers plus 160/256-bit hexadecimal web3 values.

  • postpic

    A PostgreSQL image type with SQL image-processing and metadata functions, backed by GraphicsMagick, plus import/export utilities.

  • uuid47

    UUIDv7 storage with keyed UUIDv4-looking façade I/O

  • xtypes

    Unsigned 64-bit byte-size type with human-readable binary-unit input/output, arithmetic, comparison, and rounding.

  • saturated_int

    Integer data type with saturation arithmetic that clamps overflow to int4 bounds.

  • pg_smolid

    A Postgres pgrx extension adding smolid type and helper functions.

  • pgbitmap

    Bitmap-type extension for PostgreSQL

  • automerge

    CRDT support in Postgres (experimental)

  • bankbsb

    Postgres Extension for Australian BSB numbers data type.

  • ednb

    Postgres extension to support EDN as a custom datatype

  • g_cube

    GPU version of contrib/cube

  • hashset

    Provides hashset type.

  • kmea

    K-Mer Extension for Analysis

  • launchql-ext-types

    Reusable domains for attachments, email, hostnames, images, selections, uploads and URLs.

  • os_name

    Enumerable mobile os type, stored in a single-byte, fixed-length type.

  • pg-json

    A json data type and related functions

  • pg_acl

    Utilities for handling aclitems.

  • pg_bloom

    Prototype 64-bit single-item Bloom-like data type and membership operator

  • pg_crdt_jsonb

    Conflict-free replicated data type operations for PostgreSQL jsonb values.

  • pg_french_datatypes

    french-centric data type

  • pg_hlc

    PostgreSQL HLC (Hybrid Logical Clock) extension in Rust compatible with Dart CRDT library.

  • pg_iban

    PostgreSQL extension providing IBAN (International Bank Account Number) data type and validation functions

  • pg_intmap

    Compressed integer-to-integer map

  • pg_phonenumber

    C++ libphonenumber-backed phone type, equality operators, and supported-region helpers

  • pg_semver

    Version(SEMVER) data type for postgresql

  • pg_sexp_rs

    PostgreSQL extension to add support for s-expressions store, query, index.

  • pg_siren

    Validated French SIREN and SIRET identifier types with B-tree and hash index support.

  • pg_smaz

    Smaz-compressed text type with length and raw-byte accessors.

  • pg_year

    YEAR data type

  • pgbdd

    Provides bdd and dictionary data types.

  • pgpm-types

    Reusable domains for attachments, email, hostnames, images, uploads and URLs.

  • rgb

    RGB color datatype with GiST index support

  • semver_rs

    A semantic version data type for PostgreSQL written in Rust

  • sha

    This module provides datatypes for storing SHA-1, SHA-2 and MD5 hashes

  • sid

    Sortable labeled 128-bit identifier type with compact human-readable encoding.

  • softvisio_types

    PostgreSQL additional types extension

  • ssn

    SSN type implementation for PostgreSQL

  • student

    Let's learn how to add types in PostgreSQL 👨🏻‍💻

  • suuid

    small UUID

  • types

    Reusable domains for attachments, email addresses, hostnames, images, uploads, and URLs.

  • varint

    A signed and unsigned 64 bit integer encoding scheme that saves disk space

  • xnode

    Implementation of XML using DOM.

  • gsscode

    Compact indexed type for UK ONS and GSS geography codes

  • gsscode_ons_refresh

    Optional in-database refresh for the gsscode geography-type registry

  • daterangex

    Date range type whose displayed upper bound is inclusive, with casts and operators.

  • dna

    Compact DNA sequence and k-mer types with comparison, validation, and analysis functions.

  • kmoney

    Exact scale-18 monetary types with one SQL type per currency.

  • pg_bitcoin_address

    Bitcoin address types plus Base58Check and Bech32/Bech32m codecs.

  • pg_erlang_term

    PostgreSQL type for encoding, storing, and decoding Erlang External Term Format values.

  • pg_toolkit_brazil

    Brazilian CPF and CNPJ types, validation, formatting, casts, and operators.

  • rrule_safe

    Memory-safe iCalendar recurrence-rule evaluation for PostgreSQL.

  • pg_cryptocurrency

    Native blockchain asset, amount, address, and uint256 types

  • compact_uuid

    UUID type with canonical 22-character Base64url text

  • ztype

    Zstd-compressed text, JSONB and bytea types with shared dictionaries

  • dna_sequence

    DNA and k-mer types with SP-GiST prefix indexing

  • alohadb_jsonschema

    AlohaDB JSON Schema validation and named schema registry

  • document_type

    Sinew research document type with typed key accessors and mutators

  • schema_analyzer

    Sinew trigger functions tracking document keys and schema evolution

  • ppm

    Experimental PPM-compressed text data type

  • pg_dynamic

    Experimental dynamic values with casts and overloaded operators.

  • ubjson

    Experimental JSONB-compatible type with a custom binary transfer format

  • pg_slim

    Compact JSON-like SLIM data type and JSONB conversions

  • uuid_v1

    Timestamp-ordered UUID version 1 data type

  • snowid

    64-bit identifiers with UUID text I/O and per-table sequences

  • jsonbc

    Experimental compressed JSONB-like data type with dictionary-backed keys

  • measurements

    Reference table of physical quantities and measurement units

  • timestamptp

    Timestamp type preserving the original UTC offset

  • pg_automerge

    Automerge CRDT documents with JSONB access, merging and history

  • ora_timestamptz

    Oracle-style timestamp type preserving time-zone regions or offsets.

  • meridian_pg

    CRDT state functions, aggregates, and change-notification triggers for Meridian synchronization.

  • pg_crdt

    SQL CRDT counters and experimental collaborative text with mergeable state.

  • softvisio

    Numeric domains, Unicode normalization and large-object size helpers.

  • pg_measure

    AlohaDB: Measurements with units, uncertainty and provenance

  • pg_ndarray

    AlohaDB: Chunked compressed N-dimensional arrays

  • int128

    Signed 128-bit integers with arithmetic, casts, aggregates and index operator classes.

  • dnaext

    Compact DNA and k-mer types with IUPAC matching and SP-GiST indexes

  • jjson

    Read top-level fields from JJSON binary values with TOAST slicing

  • pg_petgraph

    In-memory graph algorithms over paired SQL edge arrays

  • genomics

    Genomic intervals, compressed DNA and genotype types with aggregates and indexes

  • jdate

    Jalali calendar date, timestamp and range types