在 postgres 中使用 hmac 方法时出现以下错误。请帮忙。
root@go=# SELECT HMAC('MyPassword','mykey','md5');
ERROR: 42883: function hmac(unknown, unknown, unknown) does not exist
LINE 1: SELECT HMAC('MyPassword','mykey','md5');
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
LOCATION: ParseFuncOrColumn, parse_func.c:523
Time: 0.703 ms