I have Postgres version 10.5 from the docker hub and don't know how to install the pgcrypto module.
In /usr/lib/postgresql/10/lib# there is a pgcrypto.so file.
What to do with that file? I can't find documentation about it, thanks for your help!
Sign up to request clarification or add additional context in comments.
Comments
2
Actually make sure to force SET search_path='required_schema'; (usually public). Otherwise "CREATE EXTENSION IF NOT EXISTS pgcrypto;" command will install pgcrypto functions to the first schema in search path of the current user.