geoip
IP-based geolocation query
Module:
Categories:
Overview
MIXED 3rd Party Extension: geoip
: IP-based geolocation query
Information
- Extension ID: 1560
- Extension Name:
geoip
- Package Name:
geoip
- Category:
GIS
- License: BSD 2
- Website: https://github.com/tvondra/geoip
- Language: SQL
- Extra Tags:
pgdg-flaw
- Comment:
Metadata
- Latest Version: 0.3.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL - Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas:
geoip
- Requires:
ip4r
RPM / DEB
- RPM Repo: PIGSTY
- RPM Name:
geoip_$v
- RPM Ver :
0.3.0
- RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-geoip
- DEB Ver :
0.3.0
- DEB Deps: N/A
Packages
OS | Arch | PG17 | PG16 | PG15 | PG14 | PG13 |
---|---|---|---|---|---|---|
el8 |
x86_64 |
geoip_17 PIGSTY 0.3.0 |
geoip_16 PIGSTY 0.3.0 |
geoip_15 PIGSTY 0.3.0 |
geoip_14 PIGSTY 0.3.0 |
geoip_13 PIGSTY 0.3.0 |
el8 |
aarch64 |
geoip_17 PIGSTY 0.3.0 |
geoip_16 PIGSTY 0.3.0 |
geoip_15 PIGSTY 0.3.0 |
geoip_14 PIGSTY 0.3.0 |
geoip_13 PIGSTY 0.3.0 |
el9 |
x86_64 |
geoip_17 PIGSTY 0.3.0 |
geoip_16 PIGSTY 0.3.0 |
geoip_15 PIGSTY 0.3.0 |
geoip_14 PIGSTY 0.3.0 |
geoip_13 PIGSTY 0.3.0 |
el9 |
aarch64 |
geoip_17 PIGSTY 0.3.0 |
geoip_16 PIGSTY 0.3.0 |
geoip_15 PIGSTY 0.3.0 |
geoip_14 PIGSTY 0.3.0 |
geoip_13 PIGSTY 0.3.0 |
d12 |
x86_64 |
postgresql-17-geoip PIGSTY 0.3.0 |
postgresql-16-geoip PIGSTY 0.3.0 |
postgresql-15-geoip PIGSTY 0.3.0 |
postgresql-14-geoip PIGSTY 0.3.0 |
postgresql-13-geoip PIGSTY 0.3.0 |
d12 |
aarch64 |
postgresql-17-geoip PIGSTY 0.3.0 |
postgresql-16-geoip PIGSTY 0.3.0 |
postgresql-15-geoip PIGSTY 0.3.0 |
postgresql-14-geoip PIGSTY 0.3.0 |
postgresql-13-geoip PIGSTY 0.3.0 |
u22 |
x86_64 |
postgresql-17-geoip PIGSTY 0.3.0 |
postgresql-16-geoip PIGSTY 0.3.0 |
postgresql-15-geoip PIGSTY 0.3.0 |
postgresql-14-geoip PIGSTY 0.3.0 |
postgresql-13-geoip PIGSTY 0.3.0 |
u22 |
aarch64 |
postgresql-17-geoip PIGSTY 0.3.0 |
postgresql-16-geoip PIGSTY 0.3.0 |
postgresql-15-geoip PIGSTY 0.3.0 |
postgresql-14-geoip PIGSTY 0.3.0 |
postgresql-13-geoip PIGSTY 0.3.0 |
u24 |
x86_64 |
postgresql-17-geoip PIGSTY 0.3.0 |
postgresql-16-geoip PIGSTY 0.3.0 |
postgresql-15-geoip PIGSTY 0.3.0 |
postgresql-14-geoip PIGSTY 0.3.0 |
postgresql-13-geoip PIGSTY 0.3.0 |
u24 |
aarch64 |
postgresql-17-geoip PIGSTY 0.3.0 |
postgresql-16-geoip PIGSTY 0.3.0 |
postgresql-15-geoip PIGSTY 0.3.0 |
postgresql-14-geoip PIGSTY 0.3.0 |
postgresql-13-geoip PIGSTY 0.3.0 |
Installation
Install geoip
via the pig
CLI tool:
pig ext install geoip
Install geoip
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["geoip"]}' # -l <cls>
Install geoip
RPM from YUM repo directly:
dnf install geoip_17;
dnf install geoip_16;
dnf install geoip_15;
dnf install geoip_14;
dnf install geoip_13;
Install geoip
DEB from APT repo directly:
apt install postgresql-17-geoip;
apt install postgresql-16-geoip;
apt install postgresql-15-geoip;
apt install postgresql-14-geoip;
apt install postgresql-13-geoip;
Enable geoip
extension on PostgreSQL cluster:
CREATE EXTENSION geoip CASCADE;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.