hashlib

Stable hash functions for Postgres

Overview

PIGSTY 3rd Party Extension: pg_hashlib : Stable hash functions for Postgres

Information

Metadata

  • Latest Version: 1.1
  • 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: Trusted, Can be created by user with CREATE Privilege
  • Schemas: N/A
  • Requires: N/A

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: pg_hashlib_$v
  • RPM Ver : 1.1
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-pg-hashlib
  • DEB Ver : 1.1
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_hashlib_17
PIGSTY 1.1
pg_hashlib_16
PIGSTY 1.1
pg_hashlib_15
PIGSTY 1.1
pg_hashlib_14
PIGSTY 1.1
pg_hashlib_13
PIGSTY 1.1
el8 aarch64 pg_hashlib_17
PIGSTY 1.1
pg_hashlib_16
PIGSTY 1.1
pg_hashlib_15
PIGSTY 1.1
pg_hashlib_14
PIGSTY 1.1
pg_hashlib_13
PIGSTY 1.1
el9 x86_64 pg_hashlib_17
PIGSTY 1.1
pg_hashlib_16
PIGSTY 1.1
pg_hashlib_15
PIGSTY 1.1
pg_hashlib_14
PIGSTY 1.1
pg_hashlib_13
PIGSTY 1.1
el9 aarch64 pg_hashlib_17
PIGSTY 1.1
pg_hashlib_16
PIGSTY 1.1
pg_hashlib_15
PIGSTY 1.1
pg_hashlib_14
PIGSTY 1.1
pg_hashlib_13
PIGSTY 1.1
d12 x86_64 postgresql-17-pg-hashlib
PIGSTY 1.1
postgresql-16-pg-hashlib
PIGSTY 1.1
postgresql-15-pg-hashlib
PIGSTY 1.1
postgresql-14-pg-hashlib
PIGSTY 1.1
postgresql-13-pg-hashlib
PIGSTY 1.1
d12 aarch64 postgresql-17-pg-hashlib
PIGSTY 1.1
postgresql-16-pg-hashlib
PIGSTY 1.1
postgresql-15-pg-hashlib
PIGSTY 1.1
postgresql-14-pg-hashlib
PIGSTY 1.1
postgresql-13-pg-hashlib
PIGSTY 1.1
u22 x86_64 postgresql-17-pg-hashlib
PIGSTY 1.1
postgresql-16-pg-hashlib
PIGSTY 1.1
postgresql-15-pg-hashlib
PIGSTY 1.1
postgresql-14-pg-hashlib
PIGSTY 1.1
postgresql-13-pg-hashlib
PIGSTY 1.1
u22 aarch64 postgresql-17-pg-hashlib
PIGSTY 1.1
postgresql-16-pg-hashlib
PIGSTY 1.1
postgresql-15-pg-hashlib
PIGSTY 1.1
postgresql-14-pg-hashlib
PIGSTY 1.1
postgresql-13-pg-hashlib
PIGSTY 1.1
u24 x86_64 postgresql-17-pg-hashlib
PIGSTY 1.1
postgresql-16-pg-hashlib
PIGSTY 1.1
postgresql-15-pg-hashlib
PIGSTY 1.1
postgresql-14-pg-hashlib
PIGSTY 1.1
postgresql-13-pg-hashlib
PIGSTY 1.1
u24 aarch64 postgresql-17-pg-hashlib
PIGSTY 1.1
postgresql-16-pg-hashlib
PIGSTY 1.1
postgresql-15-pg-hashlib
PIGSTY 1.1
postgresql-14-pg-hashlib
PIGSTY 1.1
postgresql-13-pg-hashlib
PIGSTY 1.1

Installation

Install hashlib via the pig CLI tool:


pig ext install pg_hashlib; # Extension Namepig ext install hashlib; # normalized package name

Install pg_hashlib via Pigsty playbook:

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

Install pg_hashlib RPM from YUM repo directly:

dnf install pg_hashlib_17;
dnf install pg_hashlib_16;
dnf install pg_hashlib_15;
dnf install pg_hashlib_14;
dnf install pg_hashlib_13;

Install pg_hashlib DEB from APT repo directly:

apt install postgresql-17-pg-hashlib;
apt install postgresql-16-pg-hashlib;
apt install postgresql-15-pg-hashlib;
apt install postgresql-14-pg-hashlib;
apt install postgresql-13-pg-hashlib;

Enable hashlib extension on PostgreSQL cluster:

CREATE EXTENSION hashlib;




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