pg_hashids

pg_hashids

pg_hashids : Short unique id generator for PostgreSQL, using hashids

Overview

ID Extension Package Version Category License Language
4560
pg_hashids
pg_hashids
1.3
FUNC
MIT
C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
--s-d-r
No
Yes
No
Yes
yes
no
Relationships
See Also
pg_idkit
pg_base58
pgx_ulid
pg_uuidv7
sequential_uuids
permuteseq

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT
PIGSTY
1.3
18
17
16
15
14
pg_hashids -
RPM
PIGSTY
1.3
18
17
16
15
14
pg_hashids_$v -
DEB
PIGSTY
1.3
18
17
16
15
14
postgresql-$v-pg-hashids -
Linux / PG PG18 PG17 PG16 PG15 PG14
el8.x86_64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
el8.aarch64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
el9.x86_64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
el9.aarch64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
el10.x86_64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
el10.aarch64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
d12.x86_64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
d12.aarch64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
d13.x86_64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
d13.aarch64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
u22.x86_64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
u22.aarch64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
u24.x86_64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
u24.aarch64
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
PIGSTY 1.3
Package Version OS ORG SIZE File URL
pg_hashids_18 1.3 el8.x86_64 pigsty 18.6 KiB pg_hashids_18-1.3-1PIGSTY.el8.x86_64.rpm
pg_hashids_18 1.3 el8.aarch64 pigsty 17.9 KiB pg_hashids_18-1.3-1PIGSTY.el8.aarch64.rpm
pg_hashids_18 1.3 el9.x86_64 pigsty 17.2 KiB pg_hashids_18-1.3-1PIGSTY.el9.x86_64.rpm
pg_hashids_18 1.3 el9.aarch64 pigsty 16.6 KiB pg_hashids_18-1.3-1PIGSTY.el9.aarch64.rpm
pg_hashids_18 1.3 el10.x86_64 pigsty 17.2 KiB pg_hashids_18-1.3-1PIGSTY.el10.x86_64.rpm
pg_hashids_18 1.3 el10.aarch64 pigsty 16.7 KiB pg_hashids_18-1.3-1PIGSTY.el10.aarch64.rpm
postgresql-18-pg-hashids 1.3 d12.x86_64 pigsty 27.2 KiB postgresql-18-pg-hashids_1.3-1PIGSTY~bookworm_amd64.deb
postgresql-18-pg-hashids 1.3 d12.aarch64 pigsty 26.4 KiB postgresql-18-pg-hashids_1.3-1PIGSTY~bookworm_arm64.deb
postgresql-18-pg-hashids 1.3 d13.x86_64 pigsty 27.3 KiB postgresql-18-pg-hashids_1.3-1PIGSTY~trixie_amd64.deb
postgresql-18-pg-hashids 1.3 d13.aarch64 pigsty 26.5 KiB postgresql-18-pg-hashids_1.3-1PIGSTY~trixie_arm64.deb
postgresql-18-pg-hashids 1.3 u22.x86_64 pigsty 27.5 KiB postgresql-18-pg-hashids_1.3-1PIGSTY~jammy_amd64.deb
postgresql-18-pg-hashids 1.3 u22.aarch64 pigsty 26.6 KiB postgresql-18-pg-hashids_1.3-1PIGSTY~jammy_arm64.deb
postgresql-18-pg-hashids 1.3 u24.x86_64 pigsty 27.6 KiB postgresql-18-pg-hashids_1.3-1PIGSTY~noble_amd64.deb
postgresql-18-pg-hashids 1.3 u24.aarch64 pigsty 26.7 KiB postgresql-18-pg-hashids_1.3-1PIGSTY~noble_arm64.deb
Package Version OS ORG SIZE File URL
pg_hashids_17 1.3 el8.x86_64 pigsty 18.6 KiB pg_hashids_17-1.3-1PIGSTY.el8.x86_64.rpm
pg_hashids_17 1.3 el8.aarch64 pigsty 17.9 KiB pg_hashids_17-1.3-1PIGSTY.el8.aarch64.rpm
pg_hashids_17 1.3 el9.x86_64 pigsty 17.2 KiB pg_hashids_17-1.3-1PIGSTY.el9.x86_64.rpm
pg_hashids_17 1.3 el9.aarch64 pigsty 16.6 KiB pg_hashids_17-1.3-1PIGSTY.el9.aarch64.rpm
pg_hashids_17 1.3 el10.x86_64 pigsty 17.2 KiB pg_hashids_17-1.3-1PIGSTY.el10.x86_64.rpm
pg_hashids_17 1.3 el10.aarch64 pigsty 16.7 KiB pg_hashids_17-1.3-1PIGSTY.el10.aarch64.rpm
postgresql-17-pg-hashids 1.3 d12.x86_64 pigsty 27.2 KiB postgresql-17-pg-hashids_1.3-1PIGSTY~bookworm_amd64.deb
postgresql-17-pg-hashids 1.3 d12.aarch64 pigsty 26.5 KiB postgresql-17-pg-hashids_1.3-1PIGSTY~bookworm_arm64.deb
postgresql-17-pg-hashids 1.3 d13.x86_64 pigsty 27.2 KiB postgresql-17-pg-hashids_1.3-1PIGSTY~trixie_amd64.deb
postgresql-17-pg-hashids 1.3 d13.aarch64 pigsty 26.5 KiB postgresql-17-pg-hashids_1.3-1PIGSTY~trixie_arm64.deb
postgresql-17-pg-hashids 1.3 u22.x86_64 pigsty 28.4 KiB postgresql-17-pg-hashids_1.3-1PIGSTY~jammy_amd64.deb
postgresql-17-pg-hashids 1.3 u22.aarch64 pigsty 27.6 KiB postgresql-17-pg-hashids_1.3-1PIGSTY~jammy_arm64.deb
postgresql-17-pg-hashids 1.3 u24.x86_64 pigsty 27.6 KiB postgresql-17-pg-hashids_1.3-1PIGSTY~noble_amd64.deb
postgresql-17-pg-hashids 1.3 u24.aarch64 pigsty 26.7 KiB postgresql-17-pg-hashids_1.3-1PIGSTY~noble_arm64.deb
Package Version OS ORG SIZE File URL
pg_hashids_16 1.3 el8.x86_64 pigsty 18.6 KiB pg_hashids_16-1.3-1PIGSTY.el8.x86_64.rpm
pg_hashids_16 1.3 el8.aarch64 pigsty 17.9 KiB pg_hashids_16-1.3-1PIGSTY.el8.aarch64.rpm
pg_hashids_16 1.3 el9.x86_64 pigsty 17.2 KiB pg_hashids_16-1.3-1PIGSTY.el9.x86_64.rpm
pg_hashids_16 1.3 el9.aarch64 pigsty 16.6 KiB pg_hashids_16-1.3-1PIGSTY.el9.aarch64.rpm
pg_hashids_16 1.3 el10.x86_64 pigsty 17.2 KiB pg_hashids_16-1.3-1PIGSTY.el10.x86_64.rpm
pg_hashids_16 1.3 el10.aarch64 pigsty 16.7 KiB pg_hashids_16-1.3-1PIGSTY.el10.aarch64.rpm
postgresql-16-pg-hashids 1.3 d12.x86_64 pigsty 27.2 KiB postgresql-16-pg-hashids_1.3-1PIGSTY~bookworm_amd64.deb
postgresql-16-pg-hashids 1.3 d12.aarch64 pigsty 26.4 KiB postgresql-16-pg-hashids_1.3-1PIGSTY~bookworm_arm64.deb
postgresql-16-pg-hashids 1.3 d13.x86_64 pigsty 27.3 KiB postgresql-16-pg-hashids_1.3-1PIGSTY~trixie_amd64.deb
postgresql-16-pg-hashids 1.3 d13.aarch64 pigsty 26.5 KiB postgresql-16-pg-hashids_1.3-1PIGSTY~trixie_arm64.deb
postgresql-16-pg-hashids 1.3 u22.x86_64 pigsty 28.4 KiB postgresql-16-pg-hashids_1.3-1PIGSTY~jammy_amd64.deb
postgresql-16-pg-hashids 1.3 u22.aarch64 pigsty 27.6 KiB postgresql-16-pg-hashids_1.3-1PIGSTY~jammy_arm64.deb
postgresql-16-pg-hashids 1.3 u24.x86_64 pigsty 27.6 KiB postgresql-16-pg-hashids_1.3-1PIGSTY~noble_amd64.deb
postgresql-16-pg-hashids 1.3 u24.aarch64 pigsty 26.7 KiB postgresql-16-pg-hashids_1.3-1PIGSTY~noble_arm64.deb
Package Version OS ORG SIZE File URL
pg_hashids_15 1.3 el8.x86_64 pigsty 18.9 KiB pg_hashids_15-1.3-1PIGSTY.el8.x86_64.rpm
pg_hashids_15 1.3 el8.aarch64 pigsty 18.2 KiB pg_hashids_15-1.3-1PIGSTY.el8.aarch64.rpm
pg_hashids_15 1.3 el9.x86_64 pigsty 18.6 KiB pg_hashids_15-1.3-1PIGSTY.el9.x86_64.rpm
pg_hashids_15 1.3 el9.aarch64 pigsty 18.1 KiB pg_hashids_15-1.3-1PIGSTY.el9.aarch64.rpm
pg_hashids_15 1.3 el10.x86_64 pigsty 18.7 KiB pg_hashids_15-1.3-1PIGSTY.el10.x86_64.rpm
pg_hashids_15 1.3 el10.aarch64 pigsty 18.4 KiB pg_hashids_15-1.3-1PIGSTY.el10.aarch64.rpm
postgresql-15-pg-hashids 1.3 d12.x86_64 pigsty 27.5 KiB postgresql-15-pg-hashids_1.3-1PIGSTY~bookworm_amd64.deb
postgresql-15-pg-hashids 1.3 d12.aarch64 pigsty 26.7 KiB postgresql-15-pg-hashids_1.3-1PIGSTY~bookworm_arm64.deb
postgresql-15-pg-hashids 1.3 d13.x86_64 pigsty 27.6 KiB postgresql-15-pg-hashids_1.3-1PIGSTY~trixie_amd64.deb
postgresql-15-pg-hashids 1.3 d13.aarch64 pigsty 26.8 KiB postgresql-15-pg-hashids_1.3-1PIGSTY~trixie_arm64.deb
postgresql-15-pg-hashids 1.3 u22.x86_64 pigsty 29.7 KiB postgresql-15-pg-hashids_1.3-1PIGSTY~jammy_amd64.deb
postgresql-15-pg-hashids 1.3 u22.aarch64 pigsty 28.9 KiB postgresql-15-pg-hashids_1.3-1PIGSTY~jammy_arm64.deb
postgresql-15-pg-hashids 1.3 u24.x86_64 pigsty 28.8 KiB postgresql-15-pg-hashids_1.3-1PIGSTY~noble_amd64.deb
postgresql-15-pg-hashids 1.3 u24.aarch64 pigsty 28.0 KiB postgresql-15-pg-hashids_1.3-1PIGSTY~noble_arm64.deb
Package Version OS ORG SIZE File URL
pg_hashids_14 1.3 el8.x86_64 pigsty 18.9 KiB pg_hashids_14-1.3-1PIGSTY.el8.x86_64.rpm
pg_hashids_14 1.3 el8.aarch64 pigsty 18.2 KiB pg_hashids_14-1.3-1PIGSTY.el8.aarch64.rpm
pg_hashids_14 1.3 el9.x86_64 pigsty 18.6 KiB pg_hashids_14-1.3-1PIGSTY.el9.x86_64.rpm
pg_hashids_14 1.3 el9.aarch64 pigsty 18.0 KiB pg_hashids_14-1.3-1PIGSTY.el9.aarch64.rpm
pg_hashids_14 1.3 el10.x86_64 pigsty 18.7 KiB pg_hashids_14-1.3-1PIGSTY.el10.x86_64.rpm
pg_hashids_14 1.3 el10.aarch64 pigsty 18.5 KiB pg_hashids_14-1.3-1PIGSTY.el10.aarch64.rpm
postgresql-14-pg-hashids 1.3 d12.x86_64 pigsty 27.4 KiB postgresql-14-pg-hashids_1.3-1PIGSTY~bookworm_amd64.deb
postgresql-14-pg-hashids 1.3 d12.aarch64 pigsty 26.7 KiB postgresql-14-pg-hashids_1.3-1PIGSTY~bookworm_arm64.deb
postgresql-14-pg-hashids 1.3 d13.x86_64 pigsty 27.5 KiB postgresql-14-pg-hashids_1.3-1PIGSTY~trixie_amd64.deb
postgresql-14-pg-hashids 1.3 d13.aarch64 pigsty 26.8 KiB postgresql-14-pg-hashids_1.3-1PIGSTY~trixie_arm64.deb
postgresql-14-pg-hashids 1.3 u22.x86_64 pigsty 29.6 KiB postgresql-14-pg-hashids_1.3-1PIGSTY~jammy_amd64.deb
postgresql-14-pg-hashids 1.3 u22.aarch64 pigsty 28.9 KiB postgresql-14-pg-hashids_1.3-1PIGSTY~jammy_arm64.deb
postgresql-14-pg-hashids 1.3 u24.x86_64 pigsty 28.8 KiB postgresql-14-pg-hashids_1.3-1PIGSTY~noble_amd64.deb
postgresql-14-pg-hashids 1.3 u24.aarch64 pigsty 28.0 KiB postgresql-14-pg-hashids_1.3-1PIGSTY~noble_arm64.deb

Source

pig build pkg pg_hashids;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_hashids;		# install via package name, for the active PG version

pig install pg_hashids -v 18;   # install for PG 18
pig install pg_hashids -v 17;   # install for PG 17
pig install pg_hashids -v 16;   # install for PG 16
pig install pg_hashids -v 15;   # install for PG 15
pig install pg_hashids -v 14;   # install for PG 14

Create this extension with:

CREATE EXTENSION pg_hashids;
Last updated on