我在Debian Stretch上安装了PostgreSQL 9.6(9)。当我想使用crypt()
或gen_salt()
函数时,它说:
ERROR: function gen_salt(unknown, integer) does not exist
LINE 1: select gen_salt('bf', 8)
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
我怎样才能使这些功能起作用?