Skip to content

addressing_dictionary

Address-aware text search dictionaries and configurations

addressing_dictionary · Address-aware text search dictionaries and configurations

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
2270addressing_dictionaryaddressing_dictionary1.1FTSMITSQL
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
----d-rNoNoNoYesyesno
SQL and dictionary data only; no shared library. PostgreSQL 14-18 verified in PGSTY builds; upstream declares no current major-version matrix.

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXTPIGSTY1.119 18 17 16 15addressing_dictionary-
RPMPIGSTY1.119 18 17 16 15addressing_dictionary_$v-
DEBPIGSTY1.119 18 17 16 15postgresql-$v-addressing-dictionary-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
el8.aarch64N/APIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
el9.x86_64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
el9.aarch64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
el10.x86_64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
el10.aarch64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
d12.x86_64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
d12.aarch64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
d13.x86_64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
d13.aarch64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
u22.x86_64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
u22.aarch64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
u24.x86_64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
u24.aarch64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
u26.x86_64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
u26.aarch64PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1PIGSTY 1.1
PackageVersionOSORGSIZEFile URL
addressing_dictionary_191.1el9.x86_64pigsty11.5 KiBaddressing_dictionary_19-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_191.1el9.aarch64pigsty11.5 KiBaddressing_dictionary_19-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_191.1el10.x86_64pigsty11.6 KiBaddressing_dictionary_19-1.1-1PGSTY.el10.noarch.rpm
addressing_dictionary_191.1el10.aarch64pigsty11.6 KiBaddressing_dictionary_19-1.1-1PGSTY.el10.noarch.rpm
postgresql-19-addressing-dictionary1.1d12.x86_64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-19-addressing-dictionary1.1d12.aarch64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-19-addressing-dictionary1.1d13.x86_64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-19-addressing-dictionary1.1d13.aarch64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-19-addressing-dictionary1.1u22.x86_64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-19-addressing-dictionary1.1u22.aarch64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-19-addressing-dictionary1.1u24.x86_64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-19-addressing-dictionary1.1u24.aarch64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-19-addressing-dictionary1.1u26.x86_64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
postgresql-19-addressing-dictionary1.1u26.aarch64pigsty4.5 KiBpostgresql-19-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
PackageVersionOSORGSIZEFile URL
addressing_dictionary_181.1el8.x86_64pigsty11.5 KiBaddressing_dictionary_18-1.1-1PGSTY.el8.noarch.rpm
addressing_dictionary_181.1el8.aarch64pigsty11.5 KiBaddressing_dictionary_18-1.1-1PGSTY.el8.noarch.rpm
addressing_dictionary_181.1el9.x86_64pigsty11.5 KiBaddressing_dictionary_18-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_181.1el9.aarch64pigsty11.5 KiBaddressing_dictionary_18-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_181.1el10.x86_64pigsty11.6 KiBaddressing_dictionary_18-1.1-1PGSTY.el10.noarch.rpm
addressing_dictionary_181.1el10.aarch64pigsty11.6 KiBaddressing_dictionary_18-1.1-1PGSTY.el10.noarch.rpm
postgresql-18-addressing-dictionary1.1d12.x86_64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-18-addressing-dictionary1.1d12.aarch64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-18-addressing-dictionary1.1d13.x86_64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-18-addressing-dictionary1.1d13.aarch64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-18-addressing-dictionary1.1u22.x86_64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-18-addressing-dictionary1.1u22.aarch64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-18-addressing-dictionary1.1u24.x86_64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-18-addressing-dictionary1.1u24.aarch64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-18-addressing-dictionary1.1u26.x86_64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
postgresql-18-addressing-dictionary1.1u26.aarch64pigsty4.5 KiBpostgresql-18-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
PackageVersionOSORGSIZEFile URL
addressing_dictionary_171.1el8.x86_64pigsty11.5 KiBaddressing_dictionary_17-1.1-1PGSTY.el8.noarch.rpm
addressing_dictionary_171.1el8.aarch64pigsty11.5 KiBaddressing_dictionary_17-1.1-1PGSTY.el8.noarch.rpm
addressing_dictionary_171.1el9.x86_64pigsty11.5 KiBaddressing_dictionary_17-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_171.1el9.aarch64pigsty11.5 KiBaddressing_dictionary_17-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_171.1el10.x86_64pigsty11.6 KiBaddressing_dictionary_17-1.1-1PGSTY.el10.noarch.rpm
addressing_dictionary_171.1el10.aarch64pigsty11.6 KiBaddressing_dictionary_17-1.1-1PGSTY.el10.noarch.rpm
postgresql-17-addressing-dictionary1.1d12.x86_64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-17-addressing-dictionary1.1d12.aarch64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-17-addressing-dictionary1.1d13.x86_64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-17-addressing-dictionary1.1d13.aarch64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-17-addressing-dictionary1.1u22.x86_64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-17-addressing-dictionary1.1u22.aarch64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-17-addressing-dictionary1.1u24.x86_64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-17-addressing-dictionary1.1u24.aarch64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-17-addressing-dictionary1.1u26.x86_64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
postgresql-17-addressing-dictionary1.1u26.aarch64pigsty4.5 KiBpostgresql-17-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
PackageVersionOSORGSIZEFile URL
addressing_dictionary_161.1el8.x86_64pigsty11.5 KiBaddressing_dictionary_16-1.1-1PGSTY.el8.noarch.rpm
addressing_dictionary_161.1el8.aarch64pigsty11.5 KiBaddressing_dictionary_16-1.1-1PGSTY.el8.noarch.rpm
addressing_dictionary_161.1el9.x86_64pigsty11.5 KiBaddressing_dictionary_16-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_161.1el9.aarch64pigsty11.5 KiBaddressing_dictionary_16-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_161.1el10.x86_64pigsty11.6 KiBaddressing_dictionary_16-1.1-1PGSTY.el10.noarch.rpm
addressing_dictionary_161.1el10.aarch64pigsty11.6 KiBaddressing_dictionary_16-1.1-1PGSTY.el10.noarch.rpm
postgresql-16-addressing-dictionary1.1d12.x86_64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-16-addressing-dictionary1.1d12.aarch64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-16-addressing-dictionary1.1d13.x86_64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-16-addressing-dictionary1.1d13.aarch64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-16-addressing-dictionary1.1u22.x86_64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-16-addressing-dictionary1.1u22.aarch64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-16-addressing-dictionary1.1u24.x86_64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-16-addressing-dictionary1.1u24.aarch64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-16-addressing-dictionary1.1u26.x86_64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
postgresql-16-addressing-dictionary1.1u26.aarch64pigsty4.5 KiBpostgresql-16-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
PackageVersionOSORGSIZEFile URL
addressing_dictionary_151.1el8.x86_64pigsty11.5 KiBaddressing_dictionary_15-1.1-1PGSTY.el8.noarch.rpm
addressing_dictionary_151.1el8.aarch64pigsty11.5 KiBaddressing_dictionary_15-1.1-1PGSTY.el8.noarch.rpm
addressing_dictionary_151.1el9.x86_64pigsty11.5 KiBaddressing_dictionary_15-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_151.1el9.aarch64pigsty11.5 KiBaddressing_dictionary_15-1.1-1PGSTY.el9.noarch.rpm
addressing_dictionary_151.1el10.x86_64pigsty11.6 KiBaddressing_dictionary_15-1.1-1PGSTY.el10.noarch.rpm
addressing_dictionary_151.1el10.aarch64pigsty11.6 KiBaddressing_dictionary_15-1.1-1PGSTY.el10.noarch.rpm
postgresql-15-addressing-dictionary1.1d12.x86_64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-15-addressing-dictionary1.1d12.aarch64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~bookworm_all.deb
postgresql-15-addressing-dictionary1.1d13.x86_64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-15-addressing-dictionary1.1d13.aarch64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~trixie_all.deb
postgresql-15-addressing-dictionary1.1u22.x86_64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-15-addressing-dictionary1.1u22.aarch64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~jammy_all.deb
postgresql-15-addressing-dictionary1.1u24.x86_64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-15-addressing-dictionary1.1u24.aarch64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~noble_all.deb
postgresql-15-addressing-dictionary1.1u26.x86_64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~resolute_all.deb
postgresql-15-addressing-dictionary1.1u26.aarch64pigsty4.5 KiBpostgresql-15-addressing-dictionary_1.1-1PGSTY~resolute_all.deb

Source

github.com/pramsey/pgsql-addressing-dictionary

addressing_dictionary-1.1-bf3590e038d8.tar.gz

pig build pkg addressing_dictionary;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install addressing_dictionary;		# install by package name

pig install addressing_dictionary -v 19;   # install for PG 19
pig install addressing_dictionary -v 18;   # install for PG 18
pig install addressing_dictionary -v 17;   # install for PG 17
pig install addressing_dictionary -v 16;   # install for PG 16
pig install addressing_dictionary -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION addressing_dictionary;

Usage

Sources:

addressing_dictionary installs address-oriented full-text-search configurations and dictionaries. It is useful for approximate local address lookup where street-type, direction, and ordinal variants should normalize to comparable lexemes; it is not a geocoder or a substitute for address parsing and validation.

Core Workflow

Install the extension once in the database, normalize address text with the supplied configuration, and index the same expression used by queries.

CREATE EXTENSION addressing_dictionary;

SELECT to_tsvector('addressing_en', '1234 n main st');

CREATE INDEX address_search_idx
ON address_book
USING gin (to_tsvector('addressing_en', full_address));

SELECT *
FROM address_book
WHERE to_tsvector('addressing_en', full_address)
      @@ plainto_tsquery('addressing_en', '1234 north main street');

Version 1.1 keeps an abbreviated cardinal direction and also emits its expanded form, so an input such as a single-letter north token can produce both forms. This deliberately preserves ambiguity rather than assuming every occurrence has only one meaning.

Installed Objects

  • The English configuration combines a thesaurus, synonym dictionary, and stop-word dictionary for address tokens.
  • The French configuration installs the corresponding French text-search objects.
  • Both configurations are copied from PostgreSQL’s simple configuration, so they normalize through the extension’s data files instead of applying a general-language stemmer.

Operational Boundaries

The extension is relocatable and needs no preload or restart. Its dictionary, synonym, stop-word, and thesaurus files must be installed on every server that may execute queries or restore the extension.

Full-text matching is heuristic. Abbreviations can be ambiguous, and nationwide data can produce many false or duplicate candidates. Use it to improve candidate search—especially for a bounded city or region—and retain separate structured-address or geospatial checks when correctness matters.

Table reader