select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / Data types

postcode

Store UK postcodes in a compact 32-bit type with validation, formatting, partial matching, and B-tree indexing

pgext.cloud · Source code · Website · Documentation · License text · Control file · PGXN

Overview

Packagepostcode
Version1.3.0
RepositoryUnspecified
Extension typeStandard
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableYes
Stars6
Latest commit2015-03-07
Latest release2015-03-06
Catalogue updated2026-08-30

Related extensions

See also

pg_postal_code_caan efficient, validated, formatted Canadian postal code type
pg_sexpAdds a compact S-expression type with parsing, list operations, matching, containment, and hash/GIN indexing.
parray_ginGIN index operator class and partial-match operators for text arrays
ksjJapanese kanji-numeral integer type with arithmetic, aggregates, casts, comparison, and B-tree indexing
lsm3LSM tree index access method based on PostgreSQL B-tree indexes
pg_fractionAdds a fraction data type with arithmetic, comparison, aggregate and B-tree operator-class support.
tinyintOne-byte signed integer type with arithmetic, casts, aggregates, and B-tree, hash, and GIN operator classes.
spanC data type for indexed document text spans, with casts, comparisons, B-tree/hash operator classes, aggregates, and accessors.