iCyberon / pg_hashids

Short unique id generator for PostgreSQL, using hashids
MIT License
280 stars 24 forks source link

Could not find function "hash_encode_salt" #13

Closed rkgrep closed 6 years ago

rkgrep commented 6 years ago

Do you have any idea why this might happen?

ERROR:  could not find function "hash_encode_salt" in file "/usr/lib/postgresql/9.6/lib/pg_hashids.so"

Here is the build process: https://github.com/viblo-asia/docker-postgres/blob/master/9.6/Dockerfile

iCyberon commented 6 years ago

@rkgrep oh, looks like you forgot to create extension in Postgres CREATE EXTENSION pg_hashids;. Just open a psql session an issue the command.

iCyberon commented 6 years ago

If you're still having the issue, feel free to open the issue.