我有新的 AWS RDS Postgres (v 11) 实例。我已经安装了pgcrypto
扩展程序,但它不允许再次这样做:
CREATE EXTENSION pgcrypto;
Error in query (7): ERROR: extension "pgcrypto" already exists
但我不能使用扩展功能:
select gen_salt('bf');
Error in query (7): ERROR: function gen_salt(unknown) does not exist
LINE 1: select gen_salt('bf')
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
我做错了什么?