ip4r

IPv4/v6 and IPv4/v6 range index type for PostgreSQL

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
3820
ip4r
ip4r
2.4.2
TYPE
PostgreSQL
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d-r
No
Yes
No
Yes
yes
no
Relationships
Need By
geoip
See Also
pg_net
prefix
semver
unit
pgpdf
pglite_fusion
md5hash
asn1oid

Packages

TypeRepoVersionPG Major AvailabilityPackage PatternDependencies
EL
PGDG
2.4.2
18
17
16
15
14
13
ip4r_$v*-
Debian
PGDG
2.4.2
18
17
16
15
14
13
postgresql-$v-ip4r-
Linux / PGPG18PG17PG16PG15PG14PG13
el8.x86_64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
el8.aarch64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
el9.x86_64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
el9.aarch64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
el10.x86_64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
el10.aarch64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
d12.x86_64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
d12.aarch64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
d13.x86_64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
d13.aarch64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
u22.x86_64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
u22.aarch64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
u24.x86_64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
u24.aarch64
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PGDG 2.4.2
PackageVersionOSORGSIZEFile URL
ip4r_182.4.2el8.x86_64pgdg78.0 KiBip4r_18-2.4.2-3PGDG.rhel8.x86_64.rpm
ip4r_182.4.2el8.aarch64pgdg73.2 KiBip4r_18-2.4.2-3PGDG.rhel8.aarch64.rpm
ip4r_182.4.2el9.x86_64pgdg76.9 KiBip4r_18-2.4.2-3PGDG.rhel9.x86_64.rpm
ip4r_182.4.2el9.aarch64pgdg72.8 KiBip4r_18-2.4.2-3PGDG.rhel9.aarch64.rpm
ip4r_182.4.2el10.x86_64pgdg79.0 KiBip4r_18-2.4.2-3PGDG.rhel10.x86_64.rpm
ip4r_182.4.2el10.aarch64pgdg74.5 KiBip4r_18-2.4.2-3PGDG.rhel10.aarch64.rpm
postgresql-18-ip4r2.4.2d12.x86_64pgdg180.5 KiBpostgresql-18-ip4r_2.4.2-4.pgdg12+1_amd64.deb
postgresql-18-ip4r2.4.2d12.aarch64pgdg173.9 KiBpostgresql-18-ip4r_2.4.2-4.pgdg12+1_arm64.deb
postgresql-18-ip4r2.4.2d13.x86_64pgdg180.6 KiBpostgresql-18-ip4r_2.4.2-4.pgdg13+1_amd64.deb
postgresql-18-ip4r2.4.2d13.aarch64pgdg175.3 KiBpostgresql-18-ip4r_2.4.2-4.pgdg13+1_arm64.deb
postgresql-18-ip4r2.4.2u22.x86_64pgdg181.3 KiBpostgresql-18-ip4r_2.4.2-4.pgdg22.04+1_amd64.deb
postgresql-18-ip4r2.4.2u22.aarch64pgdg176.4 KiBpostgresql-18-ip4r_2.4.2-4.pgdg22.04+1_arm64.deb
postgresql-18-ip4r2.4.2u24.x86_64pgdg176.9 KiBpostgresql-18-ip4r_2.4.2-4.pgdg24.04+1_amd64.deb
postgresql-18-ip4r2.4.2u24.aarch64pgdg171.9 KiBpostgresql-18-ip4r_2.4.2-4.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
ip4r_172.4.2el8.x86_64pgdg77.9 KiBip4r_17-2.4.2-2PGDG.rhel8.x86_64.rpm
ip4r_172.4.2el8.aarch64pgdg73.0 KiBip4r_17-2.4.2-2PGDG.rhel8.aarch64.rpm
ip4r_172.4.2el9.x86_64pgdg76.8 KiBip4r_17-2.4.2-2PGDG.rhel9.x86_64.rpm
ip4r_172.4.2el9.aarch64pgdg72.9 KiBip4r_17-2.4.2-2PGDG.rhel9.aarch64.rpm
ip4r_172.4.2el10.x86_64pgdg79.0 KiBip4r_17-2.4.2-3PGDG.rhel10.x86_64.rpm
ip4r_172.4.2el10.aarch64pgdg74.5 KiBip4r_17-2.4.2-3PGDG.rhel10.aarch64.rpm
postgresql-17-ip4r2.4.2d12.x86_64pgdg180.4 KiBpostgresql-17-ip4r_2.4.2-4.pgdg12+1_amd64.deb
postgresql-17-ip4r2.4.2d12.aarch64pgdg174.0 KiBpostgresql-17-ip4r_2.4.2-4.pgdg12+1_arm64.deb
postgresql-17-ip4r2.4.2d13.x86_64pgdg180.6 KiBpostgresql-17-ip4r_2.4.2-4.pgdg13+1_amd64.deb
postgresql-17-ip4r2.4.2d13.aarch64pgdg175.2 KiBpostgresql-17-ip4r_2.4.2-4.pgdg13+1_arm64.deb
postgresql-17-ip4r2.4.2u22.x86_64pgdg194.9 KiBpostgresql-17-ip4r_2.4.2-4.pgdg22.04+1_amd64.deb
postgresql-17-ip4r2.4.2u22.aarch64pgdg189.6 KiBpostgresql-17-ip4r_2.4.2-4.pgdg22.04+1_arm64.deb
postgresql-17-ip4r2.4.2u24.x86_64pgdg176.8 KiBpostgresql-17-ip4r_2.4.2-4.pgdg24.04+1_amd64.deb
postgresql-17-ip4r2.4.2u24.aarch64pgdg171.7 KiBpostgresql-17-ip4r_2.4.2-4.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
ip4r_162.4.2el8.x86_64pgdg77.7 KiBip4r_16-2.4.2-1PGDG.rhel8.x86_64.rpm
ip4r_162.4.2el8.aarch64pgdg73.0 KiBip4r_16-2.4.2-1PGDG.rhel8.aarch64.rpm
ip4r_162.4.2el9.x86_64pgdg76.7 KiBip4r_16-2.4.2-1PGDG.rhel9.x86_64.rpm
ip4r_162.4.2el9.aarch64pgdg72.4 KiBip4r_16-2.4.2-1PGDG.rhel9.aarch64.rpm
ip4r_162.4.2el10.x86_64pgdg78.9 KiBip4r_16-2.4.2-3PGDG.rhel10.x86_64.rpm
ip4r_162.4.2el10.aarch64pgdg74.5 KiBip4r_16-2.4.2-3PGDG.rhel10.aarch64.rpm
postgresql-16-ip4r2.4.2d12.x86_64pgdg180.4 KiBpostgresql-16-ip4r_2.4.2-4.pgdg12+1_amd64.deb
postgresql-16-ip4r2.4.2d12.aarch64pgdg174.0 KiBpostgresql-16-ip4r_2.4.2-4.pgdg12+1_arm64.deb
postgresql-16-ip4r2.4.2d13.x86_64pgdg180.5 KiBpostgresql-16-ip4r_2.4.2-4.pgdg13+1_amd64.deb
postgresql-16-ip4r2.4.2d13.aarch64pgdg175.2 KiBpostgresql-16-ip4r_2.4.2-4.pgdg13+1_arm64.deb
postgresql-16-ip4r2.4.2u22.x86_64pgdg194.5 KiBpostgresql-16-ip4r_2.4.2-4.pgdg22.04+1_amd64.deb
postgresql-16-ip4r2.4.2u22.aarch64pgdg189.4 KiBpostgresql-16-ip4r_2.4.2-4.pgdg22.04+1_arm64.deb
postgresql-16-ip4r2.4.2u24.x86_64pgdg176.9 KiBpostgresql-16-ip4r_2.4.2-4.pgdg24.04+1_amd64.deb
postgresql-16-ip4r2.4.2u24.aarch64pgdg171.9 KiBpostgresql-16-ip4r_2.4.2-4.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
ip4r_152.4.2el8.x86_64pgdg77.1 KiBip4r_15-2.4.2-1PGDG.rhel8.x86_64.rpm
ip4r_152.4.1el8.x86_64pgdg208.7 KiBip4r_15-2.4.1-2.rhel8.x86_64.rpm
ip4r_152.4.2el8.aarch64pgdg72.0 KiBip4r_15-2.4.2-1PGDG.rhel8.aarch64.rpm
ip4r_152.4.1el8.aarch64pgdg203.2 KiBip4r_15-2.4.1-2.rhel8.aarch64.rpm
ip4r_152.4.2el9.x86_64pgdg75.6 KiBip4r_15-2.4.2-1PGDG.rhel9.x86_64.rpm
ip4r_152.4.1el9.x86_64pgdg209.9 KiBip4r_15-2.4.1-2.rhel9.x86_64.rpm
ip4r_152.4.2el9.aarch64pgdg71.3 KiBip4r_15-2.4.2-1PGDG.rhel9.aarch64.rpm
ip4r_152.4.1el9.aarch64pgdg204.6 KiBip4r_15-2.4.1-2.rhel9.aarch64.rpm
ip4r_152.4.2el10.x86_64pgdg78.6 KiBip4r_15-2.4.2-3PGDG.rhel10.x86_64.rpm
ip4r_152.4.2el10.aarch64pgdg73.8 KiBip4r_15-2.4.2-3PGDG.rhel10.aarch64.rpm
postgresql-15-ip4r2.4.2d12.x86_64pgdg179.2 KiBpostgresql-15-ip4r_2.4.2-4.pgdg12+1_amd64.deb
postgresql-15-ip4r2.4.2d12.aarch64pgdg172.7 KiBpostgresql-15-ip4r_2.4.2-4.pgdg12+1_arm64.deb
postgresql-15-ip4r2.4.2d13.x86_64pgdg179.2 KiBpostgresql-15-ip4r_2.4.2-4.pgdg13+1_amd64.deb
postgresql-15-ip4r2.4.2d13.aarch64pgdg173.9 KiBpostgresql-15-ip4r_2.4.2-4.pgdg13+1_arm64.deb
postgresql-15-ip4r2.4.2u22.x86_64pgdg192.9 KiBpostgresql-15-ip4r_2.4.2-4.pgdg22.04+1_amd64.deb
postgresql-15-ip4r2.4.2u22.aarch64pgdg187.5 KiBpostgresql-15-ip4r_2.4.2-4.pgdg22.04+1_arm64.deb
postgresql-15-ip4r2.4.2u24.x86_64pgdg175.0 KiBpostgresql-15-ip4r_2.4.2-4.pgdg24.04+1_amd64.deb
postgresql-15-ip4r2.4.2u24.aarch64pgdg170.2 KiBpostgresql-15-ip4r_2.4.2-4.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
ip4r_142.4.2el8.x86_64pgdg77.1 KiBip4r_14-2.4.2-1PGDG.rhel8.x86_64.rpm
ip4r_142.4.1el8.x86_64pgdg210.6 KiBip4r_14-2.4.1-2.rhel8.x86_64.rpm
ip4r_142.4.2el8.aarch64pgdg71.9 KiBip4r_14-2.4.2-1PGDG.rhel8.aarch64.rpm
ip4r_142.4.1el8.aarch64pgdg203.2 KiBip4r_14-2.4.1-2.rhel8.aarch64.rpm
ip4r_142.4.2el9.x86_64pgdg75.6 KiBip4r_14-2.4.2-1PGDG.rhel9.x86_64.rpm
ip4r_142.4.2el9.aarch64pgdg71.3 KiBip4r_14-2.4.2-1PGDG.rhel9.aarch64.rpm
ip4r_142.4.1el9.aarch64pgdg204.7 KiBip4r_14-2.4.1-2.rhel9.aarch64.rpm
ip4r_142.4.2el10.x86_64pgdg78.6 KiBip4r_14-2.4.2-3PGDG.rhel10.x86_64.rpm
ip4r_142.4.2el10.aarch64pgdg73.8 KiBip4r_14-2.4.2-3PGDG.rhel10.aarch64.rpm
postgresql-14-ip4r2.4.2d12.x86_64pgdg179.2 KiBpostgresql-14-ip4r_2.4.2-4.pgdg12+1_amd64.deb
postgresql-14-ip4r2.4.2d12.aarch64pgdg172.7 KiBpostgresql-14-ip4r_2.4.2-4.pgdg12+1_arm64.deb
postgresql-14-ip4r2.4.2d13.x86_64pgdg179.2 KiBpostgresql-14-ip4r_2.4.2-4.pgdg13+1_amd64.deb
postgresql-14-ip4r2.4.2d13.aarch64pgdg173.7 KiBpostgresql-14-ip4r_2.4.2-4.pgdg13+1_arm64.deb
postgresql-14-ip4r2.4.2u22.x86_64pgdg192.7 KiBpostgresql-14-ip4r_2.4.2-4.pgdg22.04+1_amd64.deb
postgresql-14-ip4r2.4.2u22.aarch64pgdg187.4 KiBpostgresql-14-ip4r_2.4.2-4.pgdg22.04+1_arm64.deb
postgresql-14-ip4r2.4.2u24.x86_64pgdg175.0 KiBpostgresql-14-ip4r_2.4.2-4.pgdg24.04+1_amd64.deb
postgresql-14-ip4r2.4.2u24.aarch64pgdg170.2 KiBpostgresql-14-ip4r_2.4.2-4.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
ip4r_132.4.2el8.x86_64pgdg76.2 KiBip4r_13-2.4.2-1PGDG.rhel8.x86_64.rpm
ip4r_132.4.2el8.aarch64pgdg71.9 KiBip4r_13-2.4.2-1PGDG.rhel8.aarch64.rpm
ip4r_132.4.1el8.aarch64pgdg202.7 KiBip4r_13-2.4.1-2.rhel8.aarch64.rpm
ip4r_132.4.2el9.x86_64pgdg75.2 KiBip4r_13-2.4.2-1PGDG.rhel9.x86_64.rpm
ip4r_132.4.2el9.aarch64pgdg71.4 KiBip4r_13-2.4.2-1PGDG.rhel9.aarch64.rpm
ip4r_132.4.1el9.aarch64pgdg204.7 KiBip4r_13-2.4.1-2.rhel9.aarch64.rpm
ip4r_132.4.2el10.x86_64pgdg78.1 KiBip4r_13-2.4.2-3PGDG.rhel10.x86_64.rpm
ip4r_132.4.2el10.aarch64pgdg73.7 KiBip4r_13-2.4.2-3PGDG.rhel10.aarch64.rpm
postgresql-13-ip4r2.4.2d12.x86_64pgdg178.6 KiBpostgresql-13-ip4r_2.4.2-4.pgdg12+1_amd64.deb
postgresql-13-ip4r2.4.2d12.aarch64pgdg172.5 KiBpostgresql-13-ip4r_2.4.2-4.pgdg12+1_arm64.deb
postgresql-13-ip4r2.4.2d13.x86_64pgdg178.8 KiBpostgresql-13-ip4r_2.4.2-4.pgdg13+1_amd64.deb
postgresql-13-ip4r2.4.2d13.aarch64pgdg173.7 KiBpostgresql-13-ip4r_2.4.2-4.pgdg13+1_arm64.deb
postgresql-13-ip4r2.4.2u22.x86_64pgdg192.1 KiBpostgresql-13-ip4r_2.4.2-4.pgdg22.04+1_amd64.deb
postgresql-13-ip4r2.4.2u22.aarch64pgdg187.1 KiBpostgresql-13-ip4r_2.4.2-4.pgdg22.04+1_arm64.deb
postgresql-13-ip4r2.4.2u24.x86_64pgdg174.5 KiBpostgresql-13-ip4r_2.4.2-4.pgdg24.04+1_amd64.deb
postgresql-13-ip4r2.4.2u24.aarch64pgdg169.9 KiBpostgresql-13-ip4r_2.4.2-4.pgdg24.04+1_arm64.deb

Source

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 ip4r; # install by extension name, for the current active PG version
pig ext install ip4r; # install via package alias, for the active PG version
pig ext install ip4r -v 18;   # install for PG 18
pig ext install ip4r -v 17;   # install for PG 17
pig ext install ip4r -v 16;   # install for PG 16
pig ext install ip4r -v 15;   # install for PG 15
pig ext install ip4r -v 14;   # install for PG 14
pig ext install ip4r -v 13;   # install for PG 13

Create this extension with:

CREATE EXTENSION ip4r;
Last updated on