{"id":20819,"date":"2024-01-02T06:28:26","date_gmt":"2024-01-02T06:28:26","guid":{"rendered":"https:\/\/server.hk\/blog\/20819\/"},"modified":"2024-11-14T10:38:02","modified_gmt":"2024-11-14T02:38:02","slug":"how-to-fix-postgresql-error-code-0a000-feature_not_supported","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/20819\/","title":{"rendered":"\u5982\u4f55\u4fee\u5fa9 PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported"},"content":{"rendered":"<h1 id=\"how-to-fix-postgresql-error-code-0a000-feature_not_supported-cIJeEpxTDW\">\u5982\u4f55\u4fee\u5fa9 PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported<\/h1>\n<p>PostgreSQL \u662f\u4e00\u6b3e\u529f\u80fd\u5f37\u5927\u7684\u958b\u6e90\u95dc\u806f\u5f0f\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\uff0c\u5ee3\u6cdb\u61c9\u7528\u65bc\u5404\u7a2e\u61c9\u7528\u3002\u7136\u800c\uff0c\u5c31\u50cf\u4efb\u4f55\u8edf\u9ad4\u4e00\u6a23\uff0c\u5b83\u4e5f\u53ef\u80fd\u9047\u5230\u932f\u8aa4\uff0c\u59a8\u7919\u5176\u6b63\u5e38\u904b\u4f5c\u3002\u5176\u4e2d\u4e00\u500b\u932f\u8aa4\u5c31\u662f PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u5011\u5c07\u63a2\u8a0e\u6b64\u932f\u8aa4\u7684\u6210\u56e0\u4e26\u63d0\u4f9b\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"understanding-postgresql-error-code-0a000-feature_not_supported-cIJeEpxTDW\">\u7406\u89e3 PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported<\/h2>\n<p>\u7576\u60a8\u9047\u5230 PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported \u6642\uff0c\u610f\u5473\u8457\u60a8\u6b63\u8a66\u5716\u4f7f\u7528\u7576\u524d\u7248\u672c\u7684 PostgreSQL \u4e0d\u652f\u6301\u7684\u529f\u80fd\u3002\u6b64\u932f\u8aa4\u901a\u5e38\u767c\u751f\u5728\u57f7\u884c\u67e5\u8a62\u6216\u57f7\u884c\u4f9d\u8cf4\u65bc\u7576\u524d PostgreSQL \u5b89\u88dd\u4e2d\u4e0d\u53ef\u7528\u529f\u80fd\u7684\u64cd\u4f5c\u6642\u3002<\/p>\n<p>\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0cPostgreSQL \u4e0d\u65b7\u9032\u5316\uff0c\u6bcf\u500b\u7248\u672c\u90fd\u6703\u5f15\u5165\u65b0\u529f\u80fd\u548c\u589e\u5f37\u529f\u80fd\u3002\u56e0\u6b64\uff0c\u78ba\u4fdd\u60a8\u7684 PostgreSQL \u5b89\u88dd\u662f\u6700\u65b0\u7684\u662f\u5f88\u91cd\u8981\u7684\uff0c\u4ee5\u907f\u514d\u9047\u5230\u6b64\u932f\u8aa4\u3002<\/p>\n<h2 id=\"causes-of-postgresql-error-code-0a000-feature_not_supported-cIJeEpxTDW\">\u9020\u6210 PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported \u7684\u539f\u56e0<\/h2>\n<p>\u5c0e\u81f4\u60a8\u53ef\u80fd\u9047\u5230 PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported \u7684\u539f\u56e0\u6709\u5e7e\u7a2e\uff1a<\/p>\n<ul>\n<li><strong>\u904e\u6642\u7684 PostgreSQL \u7248\u672c\uff1a<\/strong> \u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u8f03\u820a\u7684 PostgreSQL \u7248\u672c\uff0c\u60a8\u5617\u8a66\u4f7f\u7528\u7684\u529f\u80fd\u53ef\u80fd\u4e0d\u53d7\u8a72\u7248\u672c\u652f\u6301\u3002\u5347\u7d1a\u81f3\u65b0\u7248\u672c\u53ef\u4ee5\u89e3\u6c7a\u6b64\u554f\u984c\u3002<\/li>\n<li><strong>\u7f3a\u5c11\u64f4\u5c55\uff1a<\/strong> PostgreSQL \u4e2d\u7684\u4e00\u4e9b\u529f\u80fd\u9700\u8981\u5b89\u88dd\u7279\u5b9a\u7684\u64f4\u5c55\u3002\u5982\u679c\u6240\u9700\u7684\u64f4\u5c55\u7f3a\u5931\uff0c\u60a8\u53ef\u80fd\u6703\u9047\u5230 feature_not_supported \u932f\u8aa4\u3002\u5b89\u88dd\u5fc5\u8981\u7684\u64f4\u5c55\u53ef\u4ee5\u89e3\u6c7a\u6b64\u554f\u984c\u3002<\/li>\n<li><strong>\u8a9e\u6cd5\u932f\u8aa4\uff1a<\/strong> \u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u932f\u8aa4\u53ef\u80fd\u662f\u7531 SQL \u67e5\u8a62\u4e2d\u7684\u8a9e\u6cd5\u932f\u8aa4\u5f15\u8d77\u7684\u3002\u4ed4\u7d30\u6aa2\u67e5\u548c\u66f4\u6b63\u8a9e\u6cd5\u53ef\u4ee5\u5e6b\u52a9\u89e3\u6c7a\u554f\u984c\u3002<\/li>\n<\/ul>\n<h2 id=\"fixing-postgresql-error-code-0a000-feature_not_supported-cIJeEpxTDW\">\u4fee\u5fa9 PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported<\/h2>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4fee\u5fa9 PostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported \u7684\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"1-upgrade-postgresql-cIJeEpxTDW\">1. \u5347\u7d1a PostgreSQL<\/h3>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u8f03\u820a\u7248\u672c\u7684 PostgreSQL\uff0c\u8acb\u8003\u616e\u5347\u7d1a\u81f3\u6700\u65b0\u7684\u7a69\u5b9a\u7248\u672c\u3002\u65b0\u7248\u672c\u901a\u5e38\u5305\u62ec\u932f\u8aa4\u4fee\u5fa9\u3001\u6027\u80fd\u6539\u9032\u548c\u5c0d\u984d\u5916\u529f\u80fd\u7684\u652f\u6301\u3002\u5728\u5347\u7d1a\u4e4b\u524d\uff0c\u8acb\u78ba\u4fdd\u5099\u4efd\u60a8\u7684\u6578\u64da\u5eab\uff0c\u4ee5\u907f\u514d\u4efb\u4f55\u6578\u64da\u4e1f\u5931\u3002<\/p>\n<h3 id=\"2-install-required-extensions-cIJeEpxTDW\">2. \u5b89\u88dd\u6240\u9700\u7684\u64f4\u5c55<\/h3>\n<p>\u5982\u679c\u60a8\u5617\u8a66\u4f7f\u7528\u7684\u529f\u80fd\u9700\u8981\u7279\u5b9a\u64f4\u5c55\uff0c\u60a8\u9700\u8981\u5b89\u88dd\u5b83\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 PostgreSQL \u8edf\u9ad4\u5305\u7ba1\u7406\u5668\uff0c\u5982 <code>apt<\/code> \u6216 <code>yum<\/code>\uff0c\u4f86\u5b89\u88dd\u5fc5\u8981\u7684\u64f4\u5c55\u3002\u53e6\u5916\uff0c\u60a8\u4e5f\u53ef\u4ee5\u5f9e PostgreSQL \u5b98\u7db2\u624b\u52d5\u4e0b\u8f09\u4e26\u5b89\u88dd\u64f4\u5c55\u3002<\/p>\n<h3 id=\"3-check-syntax-cIJeEpxTDW\">3. \u6aa2\u67e5\u8a9e\u6cd5<\/h3>\n<p>\u5982\u679c\u60a8\u61f7\u7591\u932f\u8aa4\u662f\u7531 SQL \u67e5\u8a62\u4e2d\u7684\u8a9e\u6cd5\u932f\u8aa4\u5f15\u8d77\u7684\uff0c\u8acb\u4ed4\u7d30\u6aa2\u67e5\u67e5\u8a62\u4e26\u66f4\u6b63\u4efb\u4f55\u932f\u8aa4\u3002\u6ce8\u610f\u60a8\u5617\u8a66\u4f7f\u7528\u7684\u7279\u5b9a\u529f\u80fd\uff0c\u78ba\u4fdd\u8a9e\u6cd5\u8207 PostgreSQL \u6587\u4ef6\u4e2d\u7684\u5167\u5bb9\u4e00\u81f4\u3002<\/p>\n<h3 id=\"4-seek-community-support-cIJeEpxTDW\">4. \u5c0b\u6c42\u793e\u7fa4\u652f\u63f4<\/h3>\n<p>\u5982\u679c\u60a8\u5df2\u5617\u8a66\u4e0a\u8ff0\u6b65\u9a5f\u4f46\u4ecd\u7121\u6cd5\u89e3\u6c7a\u932f\u8aa4\uff0c\u53ef\u4ee5\u8003\u616e\u5c0b\u6c42 PostgreSQL \u793e\u7fa4\u7684\u652f\u63f4\u3002PostgreSQL \u90f5\u4ef6\u5217\u8868\u3001\u8ad6\u58c7\u548c\u7dda\u4e0a\u793e\u7fa4\u662f\u89e3\u6c7a\u554f\u984c\u548c\u7372\u5f97\u7d93\u9a57\u8c50\u5bcc\u7684\u7528\u6236\u548c\u958b\u767c\u8005\u5354\u52a9\u7684\u51fa\u8272\u8cc7\u6e90\u3002<\/p>\n<h2 id=\"summary-cIJeEpxTDW\">\u6458\u8981<\/h2>\n<p>\u7e3d\u800c\u8a00\u4e4b\uff0cPostgreSQL \u932f\u8aa4\u4ee3\u78bc\uff1a0A000 &#8211; feature_not_supported \u53ef\u80fd\u5728\u60a8\u5617\u8a66\u4f7f\u7528\u7576\u524d PostgreSQL \u5b89\u88dd\u4e0d\u652f\u6301\u7684\u529f\u80fd\u6642\u51fa\u73fe\u3002\u8981\u4fee\u5fa9\u6b64\u932f\u8aa4\uff0c\u60a8\u61c9\u8a72\u8003\u616e\u5347\u7d1a PostgreSQL \u81f3\u6700\u65b0\u7248\u672c\u3001\u5b89\u88dd\u4efb\u4f55\u6240\u9700\u7684\u64f4\u5c55\u3001\u6aa2\u67e5\u60a8\u7684 SQL \u67e5\u8a62\u7684\u8a9e\u6cd5\uff0c\u4e26\u5728\u9700\u8981\u6642\u5411 PostgreSQL \u793e\u7fa4\u5c0b\u6c42\u652f\u63f4\u3002<\/p>\n<p>\u5982\u9700\u53ef\u9760\u4e14\u9ad8\u6027\u80fd\u7684 VPS \u8a17\u7ba1\u89e3\u6c7a\u65b9\u6848\uff0c\u8acb\u8003\u616e <a href=\"https:\/\/server.hk\">Server.HK<\/a>\u3002\u85c9\u52a9\u6211\u5011\u4e00\u6d41\u7684 VPS \u8a17\u7ba1\u670d\u52d9\uff0c\u60a8\u53ef\u4ee5\u78ba\u4fdd\u60a8\u7684 PostgreSQL \u6578\u64da\u5eab\u548c\u5176\u4ed6\u61c9\u7528\u7684\u9806\u66a2\u904b\u884c\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":[4924],"tags":[],"class_list":["post-20819","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/20819","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=20819"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/20819\/revisions"}],"predecessor-version":[{"id":24263,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/20819\/revisions\/24263"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=20819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=20819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=20819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}