Created attachment 223143 [details] pg_hashids.diff PostgreSQL extension for generates short, unique, non-sequential ids from numbers. https://github.com/iCyberon/pg_hashids Hashids is a small open-source library that generates short, unique, non-sequential ids from numbers. It converts numbers like 347 into strings like “yr8”, or array of numbers like [27, 986] into “3kTMd”. You can also decode those ids back. This is useful in bundling several parameters into one or simply using them as short UIDs. https://hashids.org/
Created attachment 223162 [details] pg_hashids.diff portfmt + portclippy
Committed, thanks.
A commit references this bug: Author: vanilla Date: Thu Mar 11 13:06:36 UTC 2021 New revision: 568089 URL: https://svnweb.freebsd.org/changeset/ports/568089 Log: Add pg_hashids 1.3, postgreSQL extension for generates short, unique, non-sequential ids from numbers. PR: 254180 Submitted by: dmitry.wagin@ya.ru Changes: head/databases/Makefile head/databases/pg_hashids/ head/databases/pg_hashids/Makefile head/databases/pg_hashids/distinfo head/databases/pg_hashids/pkg-descr