0

正在运行 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

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

4

0 回答 0