ip4r

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

Overview

PGDG 1st Party Extension: ip4r : IPv4/v6 and IPv4/v6 range index type for PostgreSQL

Information

Metadata

  • Latest Version: 2.4
  • Postgres Support: 17,16,15,14,13
  • Need Load: Shared library do not need explicit loading
  • Need DDL: Need CREATE EXTENSION DDL
  • Relocatable: Can not install to arbitrary schema
  • Trusted: Untrusted, Require Superuser to Create
  • Schemas: N/A
  • Requires: N/A

RPM / DEB

  • RPM Repo: PGDG
  • RPM Name: ip4r_$v*
  • RPM Ver : 2.4
  • RPM Deps: N/A
  • DEB Repo: PGDG
  • DEB Name: postgresql-$v-ip4r
  • DEB Ver : 2.4
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 ip4r_17
PGDG 2.4.2
ip4r_16
PGDG 2.4.2
ip4r_15
PGDG 2.4.2
ip4r_14
PGDG 2.4.2
ip4r_13
PGDG 2.4.2
el8 aarch64 ip4r_17
PGDG 2.4.2
ip4r_16
PGDG 2.4.2
ip4r_15
PGDG 2.4.2
ip4r_14
PGDG 2.4.2
ip4r_13
PGDG 2.4.2
el9 x86_64 ip4r_17
PGDG 2.4.2
ip4r_16
PGDG 2.4.2
ip4r_15
PGDG 2.4.2
ip4r_14
PGDG 2.4.2
ip4r_13
PGDG 2.4.2
el9 aarch64 ip4r_17
PGDG 2.4.2
ip4r_16
PGDG 2.4.2
ip4r_15
PGDG 2.4.2
ip4r_14
PGDG 2.4.2
ip4r_13
PGDG 2.4.2
d12 x86_64 postgresql-17-ip4r
PGDG 2.4.2
postgresql-16-ip4r
PGDG 2.4.2
postgresql-15-ip4r
PGDG 2.4.2
postgresql-14-ip4r
PGDG 2.4.2
postgresql-13-ip4r
PGDG 2.4.2
d12 aarch64 postgresql-17-ip4r
PGDG 2.4.2
postgresql-16-ip4r
PGDG 2.4.2
postgresql-15-ip4r
PGDG 2.4.2
postgresql-14-ip4r
PGDG 2.4.2
postgresql-13-ip4r
PGDG 2.4.2
u22 x86_64 postgresql-17-ip4r
PGDG 2.4.2
postgresql-16-ip4r
PGDG 2.4.2
postgresql-15-ip4r
PGDG 2.4.2
postgresql-14-ip4r
PGDG 2.4.2
postgresql-13-ip4r
PGDG 2.4.2
u22 aarch64 postgresql-17-ip4r
PGDG 2.4.2
postgresql-16-ip4r
PGDG 2.4.2
postgresql-15-ip4r
PGDG 2.4.2
postgresql-14-ip4r
PGDG 2.4.2
postgresql-13-ip4r
PGDG 2.4.2
u24 x86_64 postgresql-17-ip4r
PGDG 2.4.2
postgresql-16-ip4r
PGDG 2.4.2
postgresql-15-ip4r
PGDG 2.4.2
postgresql-14-ip4r
PGDG 2.4.2
postgresql-13-ip4r
PGDG 2.4.2
u24 aarch64 postgresql-17-ip4r
PGDG 2.4.2
postgresql-16-ip4r
PGDG 2.4.2
postgresql-15-ip4r
PGDG 2.4.2
postgresql-14-ip4r
PGDG 2.4.2
postgresql-13-ip4r
PGDG 2.4.2

Installation

Install ip4r via the pig CLI tool:

pig ext install ip4r

Install ip4r via Pigsty playbook:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["ip4r"]}' # -l <cls>

Install ip4r RPM from YUM repo directly:

dnf install ip4r_17*;
dnf install ip4r_16*;
dnf install ip4r_15*;
dnf install ip4r_14*;
dnf install ip4r_13*;

Install ip4r DEB from APT repo directly:

apt install postgresql-17-ip4r;
apt install postgresql-16-ip4r;
apt install postgresql-15-ip4r;
apt install postgresql-14-ip4r;
apt install postgresql-13-ip4r;

Enable ip4r extension on PostgreSQL cluster:

CREATE EXTENSION ip4r;




Last modified 2025-02-17: add extension part (cfa504b)