country

country

Country data type, ISO 3166-1

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
3600
country
pg_country
0.0.3
TYPE
PostgreSQL
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d-r
No
Yes
No
Yes
yes
no
Relationships
See Also
l10n_table_dependent_extension
pg_xenophile
currency
geoip
icu_ext
prefix
semver
unit

Packages

TypeRepoVersionPG Major AvailabilityPackage PatternDependencies
EL
PIGSTY
0.0.3
18
17
16
15
14
13
pg_country_$v*-
Debian
PIGSTY
0.0.3
18
17
16
15
14
13
postgresql-$v-pg-country-
Linux / PGPG18PG17PG16PG15PG14PG13
el8.x86_64
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
el8.aarch64
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
el9.x86_64
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
el9.aarch64
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
el10.x86_64
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
el10.aarch64
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
d12.x86_64
MISS
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
d12.aarch64
MISS
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
d13.x86_64
MISS
MISS
MISS
MISS
MISS
MISS
d13.aarch64
MISS
MISS
MISS
MISS
MISS
MISS
u22.x86_64
MISS
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
u22.aarch64
MISS
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
u24.x86_64
MISS
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
u24.aarch64
MISS
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PIGSTY 0.0.3
PackageVersionOSORGSIZEFile URL
pg_country_180.0.3el8.x86_64pigsty19.1 KiBpg_country_18-0.0.3-1PIGSTY.el8.x86_64.rpm
pg_country_180.0.3el8.aarch64pigsty18.2 KiBpg_country_18-0.0.3-1PIGSTY.el8.aarch64.rpm
pg_country_180.0.3el9.x86_64pigsty17.0 KiBpg_country_18-0.0.3-1PIGSTY.el9.x86_64.rpm
pg_country_180.0.3el9.aarch64pigsty17.7 KiBpg_country_18-0.0.3-1PIGSTY.el9.aarch64.rpm
pg_country_180.0.3el10.x86_64pigsty17.0 KiBpg_country_18-0.0.3-1PIGSTY.el10.x86_64.rpm
pg_country_180.0.3el10.aarch64pigsty17.9 KiBpg_country_18-0.0.3-1PIGSTY.el10.aarch64.rpm
PackageVersionOSORGSIZEFile URL
pg_country_170.0.3el8.x86_64pigsty19.1 KiBpg_country_17-0.0.3-1PIGSTY.el8.x86_64.rpm
pg_country_170.0.3el8.aarch64pigsty18.2 KiBpg_country_17-0.0.3-1PIGSTY.el8.aarch64.rpm
pg_country_170.0.3el9.x86_64pigsty17.0 KiBpg_country_17-0.0.3-1PIGSTY.el9.x86_64.rpm
pg_country_170.0.3el9.aarch64pigsty17.6 KiBpg_country_17-0.0.3-1PIGSTY.el9.aarch64.rpm
pg_country_170.0.3el10.x86_64pigsty17.0 KiBpg_country_17-0.0.3-1PIGSTY.el10.x86_64.rpm
pg_country_170.0.3el10.aarch64pigsty17.9 KiBpg_country_17-0.0.3-1PIGSTY.el10.aarch64.rpm
postgresql-17-pg-country0.0.3d12.x86_64pigsty28.4 KiBpostgresql-17-pg-country_0.0.3-1PIGSTY~bookworm_amd64.deb
postgresql-17-pg-country0.0.3d12.aarch64pigsty28.8 KiBpostgresql-17-pg-country_0.0.3-1PIGSTY~bookworm_arm64.deb
postgresql-17-pg-country0.0.3u22.x86_64pigsty32.3 KiBpostgresql-17-pg-country_0.0.3-1PIGSTY~jammy_amd64.deb
postgresql-17-pg-country0.0.3u22.aarch64pigsty32.9 KiBpostgresql-17-pg-country_0.0.3-1PIGSTY~jammy_arm64.deb
postgresql-17-pg-country0.0.3u24.x86_64pigsty30.4 KiBpostgresql-17-pg-country_0.0.3-1PIGSTY~noble_amd64.deb
postgresql-17-pg-country0.0.3u24.aarch64pigsty31.1 KiBpostgresql-17-pg-country_0.0.3-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_country_160.0.3el8.x86_64pigsty19.1 KiBpg_country_16-0.0.3-1PIGSTY.el8.x86_64.rpm
pg_country_160.0.3el8.aarch64pigsty18.2 KiBpg_country_16-0.0.3-1PIGSTY.el8.aarch64.rpm
pg_country_160.0.3el9.x86_64pigsty17.0 KiBpg_country_16-0.0.3-1PIGSTY.el9.x86_64.rpm
pg_country_160.0.3el9.aarch64pigsty17.7 KiBpg_country_16-0.0.3-1PIGSTY.el9.aarch64.rpm
pg_country_160.0.3el10.x86_64pigsty17.0 KiBpg_country_16-0.0.3-1PIGSTY.el10.x86_64.rpm
pg_country_160.0.3el10.aarch64pigsty17.9 KiBpg_country_16-0.0.3-1PIGSTY.el10.aarch64.rpm
postgresql-16-pg-country0.0.3d12.x86_64pigsty28.3 KiBpostgresql-16-pg-country_0.0.3-1PIGSTY~bookworm_amd64.deb
postgresql-16-pg-country0.0.3d12.aarch64pigsty28.9 KiBpostgresql-16-pg-country_0.0.3-1PIGSTY~bookworm_arm64.deb
postgresql-16-pg-country0.0.3u22.x86_64pigsty32.3 KiBpostgresql-16-pg-country_0.0.3-1PIGSTY~jammy_amd64.deb
postgresql-16-pg-country0.0.3u22.aarch64pigsty32.9 KiBpostgresql-16-pg-country_0.0.3-1PIGSTY~jammy_arm64.deb
postgresql-16-pg-country0.0.3u24.x86_64pigsty30.4 KiBpostgresql-16-pg-country_0.0.3-1PIGSTY~noble_amd64.deb
postgresql-16-pg-country0.0.3u24.aarch64pigsty31.1 KiBpostgresql-16-pg-country_0.0.3-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_country_150.0.3el8.x86_64pigsty19.1 KiBpg_country_15-0.0.3-1PIGSTY.el8.x86_64.rpm
pg_country_150.0.3el8.aarch64pigsty18.2 KiBpg_country_15-0.0.3-1PIGSTY.el8.aarch64.rpm
pg_country_150.0.3el9.x86_64pigsty17.0 KiBpg_country_15-0.0.3-1PIGSTY.el9.x86_64.rpm
pg_country_150.0.3el9.aarch64pigsty17.6 KiBpg_country_15-0.0.3-1PIGSTY.el9.aarch64.rpm
pg_country_150.0.3el10.x86_64pigsty17.0 KiBpg_country_15-0.0.3-1PIGSTY.el10.x86_64.rpm
pg_country_150.0.3el10.aarch64pigsty17.9 KiBpg_country_15-0.0.3-1PIGSTY.el10.aarch64.rpm
postgresql-15-pg-country0.0.3d12.x86_64pigsty28.3 KiBpostgresql-15-pg-country_0.0.3-1PIGSTY~bookworm_amd64.deb
postgresql-15-pg-country0.0.3d12.aarch64pigsty28.9 KiBpostgresql-15-pg-country_0.0.3-1PIGSTY~bookworm_arm64.deb
postgresql-15-pg-country0.0.3u22.x86_64pigsty32.3 KiBpostgresql-15-pg-country_0.0.3-1PIGSTY~jammy_amd64.deb
postgresql-15-pg-country0.0.3u22.aarch64pigsty32.9 KiBpostgresql-15-pg-country_0.0.3-1PIGSTY~jammy_arm64.deb
postgresql-15-pg-country0.0.3u24.x86_64pigsty30.4 KiBpostgresql-15-pg-country_0.0.3-1PIGSTY~noble_amd64.deb
postgresql-15-pg-country0.0.3u24.aarch64pigsty31.1 KiBpostgresql-15-pg-country_0.0.3-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_country_140.0.3el8.x86_64pigsty19.1 KiBpg_country_14-0.0.3-1PIGSTY.el8.x86_64.rpm
pg_country_140.0.3el8.aarch64pigsty18.2 KiBpg_country_14-0.0.3-1PIGSTY.el8.aarch64.rpm
pg_country_140.0.3el9.x86_64pigsty17.0 KiBpg_country_14-0.0.3-1PIGSTY.el9.x86_64.rpm
pg_country_140.0.3el9.aarch64pigsty17.6 KiBpg_country_14-0.0.3-1PIGSTY.el9.aarch64.rpm
pg_country_140.0.3el10.x86_64pigsty17.0 KiBpg_country_14-0.0.3-1PIGSTY.el10.x86_64.rpm
pg_country_140.0.3el10.aarch64pigsty17.9 KiBpg_country_14-0.0.3-1PIGSTY.el10.aarch64.rpm
postgresql-14-pg-country0.0.3d12.x86_64pigsty28.2 KiBpostgresql-14-pg-country_0.0.3-1PIGSTY~bookworm_amd64.deb
postgresql-14-pg-country0.0.3d12.aarch64pigsty28.8 KiBpostgresql-14-pg-country_0.0.3-1PIGSTY~bookworm_arm64.deb
postgresql-14-pg-country0.0.3u22.x86_64pigsty32.3 KiBpostgresql-14-pg-country_0.0.3-1PIGSTY~jammy_amd64.deb
postgresql-14-pg-country0.0.3u22.aarch64pigsty32.8 KiBpostgresql-14-pg-country_0.0.3-1PIGSTY~jammy_arm64.deb
postgresql-14-pg-country0.0.3u24.x86_64pigsty30.4 KiBpostgresql-14-pg-country_0.0.3-1PIGSTY~noble_amd64.deb
postgresql-14-pg-country0.0.3u24.aarch64pigsty31.1 KiBpostgresql-14-pg-country_0.0.3-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_country_130.0.3el8.x86_64pigsty19.1 KiBpg_country_13-0.0.3-1PIGSTY.el8.x86_64.rpm
pg_country_130.0.3el8.aarch64pigsty18.2 KiBpg_country_13-0.0.3-1PIGSTY.el8.aarch64.rpm
pg_country_130.0.3el9.x86_64pigsty17.0 KiBpg_country_13-0.0.3-1PIGSTY.el9.x86_64.rpm
pg_country_130.0.3el9.aarch64pigsty17.5 KiBpg_country_13-0.0.3-1PIGSTY.el9.aarch64.rpm
pg_country_130.0.3el10.x86_64pigsty17.0 KiBpg_country_13-0.0.3-1PIGSTY.el10.x86_64.rpm
pg_country_130.0.3el10.aarch64pigsty17.9 KiBpg_country_13-0.0.3-1PIGSTY.el10.aarch64.rpm
postgresql-13-pg-country0.0.3d12.x86_64pigsty28.4 KiBpostgresql-13-pg-country_0.0.3-1PIGSTY~bookworm_amd64.deb
postgresql-13-pg-country0.0.3d12.aarch64pigsty28.4 KiBpostgresql-13-pg-country_0.0.3-1PIGSTY~bookworm_arm64.deb
postgresql-13-pg-country0.0.3u22.x86_64pigsty32.2 KiBpostgresql-13-pg-country_0.0.3-1PIGSTY~jammy_amd64.deb
postgresql-13-pg-country0.0.3u22.aarch64pigsty32.5 KiBpostgresql-13-pg-country_0.0.3-1PIGSTY~jammy_arm64.deb
postgresql-13-pg-country0.0.3u24.x86_64pigsty30.6 KiBpostgresql-13-pg-country_0.0.3-1PIGSTY~noble_amd64.deb
postgresql-13-pg-country0.0.3u24.aarch64pigsty30.8 KiBpostgresql-13-pg-country_0.0.3-1PIGSTY~noble_arm64.deb

Source

pig build get country; # get country source code
pig build dep country; # install build dependencies
pig build pkg country; # build extension rpm or deb
pig build ext country; # build extension rpms

Install

To add the required PGDG / PIGSTY upstream repository, use:

pig repo add pgsql -u   # add PGDG + Pigsty repo and update cache (leave existing repos)

Install this extension with:

pig ext install country; # install by extension name, for the current active PG version
pig ext install pg_country; # install via package alias, for the active PG version
pig ext install country -v 18;   # install for PG 18
pig ext install country -v 17;   # install for PG 17
pig ext install country -v 16;   # install for PG 16
pig ext install country -v 15;   # install for PG 15
pig ext install country -v 14;   # install for PG 14
pig ext install country -v 13;   # install for PG 13

Create this extension with:

CREATE EXTENSION country;
Last updated on