Bug 254180 - [new port] databases/pg_hashids: PostgreSQL extension for generates short, unique, non-sequential ids from numbers
Summary: [new port] databases/pg_hashids: PostgreSQL extension for generates short, un...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vanilla I. Shu
URL: https://github.com/iCyberon/pg_hashids
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-10 08:30 UTC by Dmitry Wagin
Modified: 2021-03-11 13:07 UTC (History)
1 user (show)

See Also:


Attachments
pg_hashids.diff (2.85 KB, patch)
2021-03-10 08:30 UTC, Dmitry Wagin
no flags Details | Diff
pg_hashids.diff (2.85 KB, patch)
2021-03-10 16:36 UTC, Dmitry Wagin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Wagin 2021-03-10 08:30:12 UTC
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/
Comment 1 Dmitry Wagin 2021-03-10 16:36:13 UTC
Created attachment 223162 [details]
pg_hashids.diff

portfmt + portclippy
Comment 2 Vanilla I. Shu freebsd_committer 2021-03-11 13:06:38 UTC
Committed, thanks.
Comment 3 commit-hook freebsd_committer 2021-03-11 13:07:20 UTC
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