{"id":21473,"date":"2024-01-02T09:58:22","date_gmt":"2024-01-02T09:58:22","guid":{"rendered":"https:\/\/server.hk\/blog\/21473\/"},"modified":"2024-11-14T10:33:42","modified_gmt":"2024-11-14T02:33:42","slug":"how-to-fix-postgresql-error-code-hv024-fdw_invalid_attribute_value","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/21473\/","title":{"rendered":"\u5982\u4f55\u4fee\u5fa9 PostgreSQL \u932f\u8aa4\u78bc\uff1aHV024 &#8211; fdw_invalid_attribute_value"},"content":{"rendered":"<h1>\u5982\u4f55\u4fee\u5fa9 PostgreSQL \u932f\u8aa4\u78bc\uff1aHV024 &#8211; fdw_invalid_attribute_value<\/h1>\n<p>\u4ecb\u7d39\uff1a<\/p>\n<p>PostgreSQL \u662f\u4e00\u500b\u5f37\u5927\u7684\u958b\u6e90\u95dc\u806f\u5f0f\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\uff0c\u5ee3\u6cdb\u88ab\u958b\u767c\u8005\u548c\u4f01\u696d\u6240\u4f7f\u7528\u3002\u7136\u800c\uff0c\u548c\u4efb\u4f55\u8edf\u4ef6\u4e00\u6a23\uff0c\u5b83\u4e5f\u6703\u9047\u5230\u4e00\u4e9b\u932f\u8aa4\uff0c\u9019\u53ef\u80fd\u5f71\u97ff\u5176\u6b63\u5e38\u904b\u884c\u3002\u5176\u4e2d\u4e00\u500b\u932f\u8aa4\u5c31\u662f PostgreSQL \u932f\u8aa4\u78bc HV024 &#8211; fdw_invalid_attribute_value\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u5011\u5c07\u63a2\u8a0e\u6b64\u932f\u8aa4\u7684\u539f\u56e0\uff0c\u4e26\u63d0\u4f9b\u9010\u6b65\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<p>\u7406\u89e3 PostgreSQL \u932f\u8aa4\u78bc HV024 &#8211; fdw_invalid_attribute_value\uff1a<\/p>\n<p>\u5728\u4f7f\u7528\u5916\u90e8\u6578\u64da\u5305\u88dd\u5668\uff08FDW\uff09\u64f4\u5c55\u5728 PostgreSQL \u4e2d\u5275\u5efa\u6216\u4fee\u6539\u5916\u90e8\u8868\u6642\uff0c\u6703\u51fa\u73fe HV024 \u932f\u8aa4\u3002\u901a\u5e38\u9019\u500b\u932f\u8aa4\u662f\u5728\u70ba\u5916\u90e8\u8868\u63d0\u4f9b\u7684\u5c6c\u6027\u503c\u7121\u6548\u6216\u8207\u9060\u7aef\u4f3a\u670d\u5668\u5b9a\u7fa9\u7684\u6578\u64da\u985e\u578b\u4e0d\u76f8\u5bb9\u6642\u89f8\u767c\u7684\u3002<\/p>\n<p>HV024 \u932f\u8aa4\u7684\u539f\u56e0\uff1a<\/p>\n<ol>\n<li>\u6578\u64da\u985e\u578b\u4e0d\u76f8\u5bb9\uff1aHV024 \u932f\u8aa4\u6700\u5e38\u898b\u7684\u539f\u56e0\u662f\u63d0\u4f9b\u4e86\u8207\u5728\u9060\u7aef\u4f3a\u670d\u5668\u5b9a\u7fa9\u7684\u6578\u64da\u985e\u578b\u4e0d\u5339\u914d\u7684\u5c6c\u6027\u503c\u3002\u4f8b\u5982\uff0c\u5617\u8a66\u5c07\u5b57\u4e32\u63d2\u5165\u5230\u6578\u5b57\u5217\u4e2d\u3002<\/li>\n<li>\u7f3a\u5c11\u6216\u932f\u8aa4\u7684\u6620\u5c04\uff1a\u53e6\u4e00\u500b\u932f\u8aa4\u7684\u539f\u56e0\u662f\u672c\u5730\u548c\u9060\u7aef\u8868\u4e4b\u9593\u7684\u6620\u5c04\u7f3a\u5931\u6216\u4e0d\u6b63\u78ba\u3002\u5982\u679c\u5728\u5916\u90e8\u8868\u5b9a\u7fa9\u4e2d\u672a\u6b63\u78ba\u5b9a\u7fa9\u5217\u540d\u6216\u6578\u64da\u985e\u578b\uff0c\u5247\u53ef\u80fd\u767c\u751f\u9019\u7a2e\u60c5\u6cc1\u3002<\/li>\n<li>\u6b0a\u9650\u4e0d\u8db3\uff1a\u57f7\u884c\u67e5\u8a62\u7684\u4f7f\u7528\u8005\u53ef\u80fd\u6c92\u6709\u5fc5\u8981\u7684\u6b0a\u9650\u4f86\u8a2a\u554f\u5916\u90e8\u8868\u6216\u57f7\u884c\u6240\u9700\u7684\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n<p>\u89e3\u6c7a HV024 \u932f\u8aa4\u7684\u65b9\u6cd5\uff1a<\/p>\n<ol>\n<li>\u9a57\u8b49\u6578\u64da\u985e\u578b\uff1a\u78ba\u4fdd\u70ba\u5916\u90e8\u8868\u63d0\u4f9b\u7684\u5c6c\u6027\u503c\u8207\u9060\u7aef\u4f3a\u670d\u5668\u5b9a\u7fa9\u7684\u6578\u64da\u985e\u578b\u76f8\u5339\u914d\u3002\u4ed4\u7d30\u6aa2\u67e5\u672c\u5730\u548c\u9060\u7aef\u8868\u4e2d\u5217\u7684\u6578\u64da\u985e\u578b\uff0c\u4ee5\u907f\u514d\u4efb\u4f55\u4e0d\u5339\u914d\u3002<\/li>\n<li>\u6aa2\u67e5\u6620\u5c04\uff1a\u67e5\u6838\u672c\u5730\u548c\u9060\u7aef\u8868\u4e4b\u9593\u7684\u6620\u5c04\u3002\u78ba\u4fdd\u5728\u5916\u90e8\u8868\u5b9a\u7fa9\u4e2d\u6b63\u78ba\u5b9a\u7fa9\u4e86\u5217\u540d\u548c\u6578\u64da\u985e\u578b\u3002\u4efb\u4f55\u5dee\u7570\u90fd\u53ef\u80fd\u5c0e\u81f4 HV024 \u932f\u8aa4\u3002<\/li>\n<li>\u6388\u4e88\u8db3\u5920\u6b0a\u9650\uff1a\u78ba\u4fdd\u57f7\u884c\u67e5\u8a62\u7684\u4f7f\u7528\u8005\u5177\u6709\u8a2a\u554f\u5916\u90e8\u8868\u548c\u57f7\u884c\u6240\u9700\u64cd\u4f5c\u7684\u5fc5\u8981\u6b0a\u9650\u3002\u4f7f\u7528 GRANT \u8a9e\u53e5\u6388\u4e88\u5fc5\u8981\u7684\u6b0a\u9650\u3002<\/li>\n<li>\u66f4\u65b0 PostgreSQL \u7248\u672c\uff1a\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u820a\u7248\u672c\u7684 PostgreSQL\uff0c\u8acb\u8003\u616e\u5347\u7d1a\u5230\u6700\u65b0\u7684\u7a69\u5b9a\u7248\u672c\u3002\u65b0\u7248\u672c\u901a\u5e38\u5305\u542b\u4fee\u5fa9\u932f\u8aa4\u548c\u6539\u9032\u529f\u80fd\uff0c\u53ef\u4ee5\u89e3\u6c7a\u5df2\u77e5\u554f\u984c\uff0c\u5305\u62ec HV024 \u932f\u8aa4\u3002<\/li>\n<li>\u67e5\u6838\u5916\u90e8\u6578\u64da\u5305\u88dd\u5668\u7684\u914d\u7f6e\uff1a\u6aa2\u67e5\u5916\u90e8\u6578\u64da\u5305\u88dd\u5668\u64f4\u5c55\u7684\u914d\u7f6e\u3002\u78ba\u4fdd\u5b83\u5df2\u6b63\u78ba\u5b89\u88dd\u4e26\u914d\u7f6e\u4ee5\u5efa\u7acb\u8207\u9060\u7aef\u4f3a\u670d\u5668\u7684\u9023\u63a5\u3002\u8acb\u53c3\u95b1 PostgreSQL \u6587\u4ef6\uff0c\u77ad\u89e3\u5982\u4f55\u914d\u7f6e FDW \u7684\u8a73\u7d30\u8aaa\u660e\u3002<\/li>\n<\/ol>\n<p>\u7e3d\u7d50\uff1a<\/p>\n<p>PostgreSQL \u932f\u8aa4\u78bc HV024 &#8211; fdw_invalid_attribute_value \u53ef\u901a\u904e\u4ed4\u7d30\u9a57\u8b49\u6578\u64da\u985e\u578b\u3001\u6aa2\u67e5\u672c\u5730\u548c\u9060\u7aef\u8868\u4e4b\u9593\u7684\u6620\u5c04\u3001\u6388\u4e88\u8db3\u5920\u6b0a\u9650\u3001\u66f4\u65b0 PostgreSQL \u7248\u672c\u548c\u67e5\u6838\u5916\u90e8\u6578\u64da\u5305\u88dd\u5668\u7684\u914d\u7f6e\u4f86\u89e3\u6c7a\u3002\u5982\u679c\u60a8\u9047\u5230\u6b64\u932f\u8aa4\uff0c\u8acb\u6309\u7167\u9019\u4e9b\u6b65\u9a5f\u9032\u884c\u6545\u969c\u6392\u9664\u548c\u554f\u984c\u4fee\u5fa9\u3002\u5982\u9700\u53ef\u9760\u548c\u9ad8\u6027\u80fd\u7684 VPS \u4e3b\u6a5f\u89e3\u6c7a\u65b9\u6848\uff0c\u8acb\u8003\u616e Server.HK\uff0c\u696d\u5167\u9818\u5148\u7684\u4f9b\u61c9\u5546\u3002\u6211\u5011\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2f VPS<\/a> \u4e3b\u6a5f\u670d\u52d9\u70ba\u60a8\u7684 PostgreSQL \u548c\u5176\u4ed6\u6578\u64da\u5eab\u9700\u6c42\u63d0\u4f9b\u5353\u8d8a\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u4f55\u4fee\u5fa9 PostgreSQL &#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-21473","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/21473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=21473"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/21473\/revisions"}],"predecessor-version":[{"id":23997,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/21473\/revisions\/23997"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=21473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=21473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=21473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}