pg_xenophile
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_xenophile | 0.8.3 | TYPE | PostgreSQL | SQL |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 3670 | pg_xenophile | No | No | No | Yes | No | No | xeno |
| 3671 | l10n_table_dependent_extension | No | No | No | Yes | No | Yes | - |
| Related | hstore icu_ext pg_cjk_parser gb18030_2022 unaccent pgroonga pg_tokenizer country currency isn dict_xsyn |
|---|---|
| Depended By | l10n_table_dependent_extension |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.8.3 | 1817161514 | pg_xenophile | hstore |
| RPM | PIGSTY | 0.8.3 | 1817161514 | pg_xenophile_$v | - |
| DEB | PIGSTY | 0.8.3 | 1817161514 | postgresql-$v-pg-xenophile | - |
Build
You can build the RPM / DEB packages for pg_xenophile using pig build:
Install
You can install pg_xenophile directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Create Extension:
Usage
pg_xenophile: internationalization (i18n) and localization (l10n) utilities
The pg_xenophile extension provides i18n/l10n infrastructure including reference data for countries, languages, and currencies, plus automated localization table management.
All objects reside in the xeno schema (non-relocatable).
Reference Tables
xeno.country: ISO 3166-1 codes with calling codes and currenciesxeno.lang: ISO 639-1 language codesxeno.currency: ISO 4217 currency codes with symbolsxeno.country_subdivision: ISO 3166-2 subdivision codesxeno.eu_country: EU membership trackingxeno.country_postal_code_pattern: Postal code validation patterns
Localization Tables
The extension auto-manages translation tables. Insert into xeno.l10n_table to register a translatable base table:
This automatically creates a companion products_l10n table and language-specific views.
Convenience Views
xeno.country_l10n_en: Country names in Englishxeno.lang_l10n_en: Language names in Englishxeno.country_subdivision_l10n_en: Subdivision names in English
Configuration
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)