sqids-postgresql
sqids-postgresql copied to clipboard
Init
The original Postgres version was written in C: https://github.com/iCyberon/pg_hashids (cc @iCyberon)
@tzvetkoff Any chance that your sqids-c could be linked with Postgres to make this one?
I would be more than happy to migrate.
Hey @iCyberon, that'd be great! Just sent you a maintainer invite to the repo, so feel free to push as you see fit. I think quite a few people would be happy to see a Postgres version updated (including me).
A bit more on the changes / porting here: https://github.com/sqids/sqids-spec#-how-to-port-sqids-to-another-language
@iCyberon @4kimov Big upvote for this, many Supabase users would be thrilled. Any timeline or help needed?
@JitYc Help would be appreciated, yes.
@iCyberon Looks like you should have access to this repo, do you have an approximate ETA on when you might give this a shot?
I could really use this. Can we put a bounty on it or something?
For anyone watching this issue, I've implemented a PLPGSQL version at https://github.com/sqids/sqids-plpgsql
Happy to take feedback, PRs, etc.
Pushed a work-in-progress, works ok in development env. Still missing tests + better error handling. Going to close this general issue, please open new ones as you see specific problems appear.
Of course improvement PRs are welcome.