函数 hmac(text, text, text) 不存在

问题描述

正在运行 pg_repack 并且失败并显示以下错误

WARNING: Error with create index: ERROR: function hmac(text,text,text) does not exist LINE 1: ...225736 ON repack.table_224997 USING btree (encode(hmac((('id... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.

但是 pgcrypto 扩展安装在公共架构中。

-[ RECORD 5 ]------------------------------------------------------------------ Name | pgcrypto Version | 1.3 Schema | public Description | cryptographic functions

show search_path ; -[ RECORD 1 ]---------------- search_path | "$user",public

你能帮我理解为什么它失败了。谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)