h3

H3 bindings for PostgreSQL

Overview

PGDG 1st Party Extension: pg_h3 : H3 bindings for PostgreSQL

Information

Metadata

  • Latest Version: 4.2.2
  • 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: h3-pg_$v*
  • RPM Ver : 4.1.3
  • RPM Deps: N/A
  • DEB Repo: PGDG
  • DEB Name: postgresql-$v-h3
  • DEB Ver : 4.2.2
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el8 aarch64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el9 x86_64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el9 aarch64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
d12 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
d12 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u22 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u22 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u24 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u24 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2

Installation

Install h3 via the pig CLI tool:


pig ext install pg_h3; # Extension Namepig ext install h3; # normalized package name

Install pg_h3 via Pigsty playbook:

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

Install pg_h3 RPM from YUM repo directly:

dnf install h3-pg_17*;
dnf install h3-pg_16*;
dnf install h3-pg_15*;
dnf install h3-pg_14*;
dnf install h3-pg_13*;

Install pg_h3 DEB from APT repo directly:

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

Enable h3 extension on PostgreSQL cluster:

CREATE EXTENSION h3;




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