iCyberon / pg_hashids

Short unique id generator for PostgreSQL, using hashids
MIT License
288 stars 25 forks source link

Could not find function "hash_encode_salt" #13

Closed rkgrep closed 7 years ago

rkgrep commented 7 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 7 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 7 years ago

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