{"id":42005,"date":"2023-05-02T06:39:33","date_gmt":"2023-01-11T17:45:21","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/"},"modified":"2024-04-30T02:16:29","modified_gmt":"2024-04-29T18:16:29","slug":"%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/","title":{"rendered":"\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c"},"content":{"rendered":"<p>\u8fd9\u662f\u6765\u81ea\u5370\u5ea6\u7684\u6295\u7a3f\u3002<\/p>\n<p>\u6709\u4e00\u4e9b\u5e7b\u71c8\u7247\u63d0\u4f9b\u4e86\u6709\u95dcPostgreSQL\u958b\u767c\u548c\u52a0\u5165PostgreSQL\u793e\u5340\u7684\u6709\u7528\u4fe1\u606f\uff0c\u4f46\u4f5c\u70ba\u6587\u7ae0\u4f3c\u4e4e\u4e0d\u592a\u591a\u898b\u3002\u56e0\u6b64\uff0c\u6211\u5c07\u7e3d\u7d50PostgreSQL\u793e\u5340\u4e2d\u53c3\u8207\u958b\u767c\u548c\u5be9\u67e5\u6240\u9700\u7684\u5404\u7a2e\u57fa\u672c\u64cd\u4f5c\u3002<\/p>\n<p>\u8bf7\u53c2\u80032015\u5e7411\u6708\u7684PostgreSQL\u5b66\u4e60\u4f1a\u4e0a\u5173\u4e8ePostgreSQL\u793e\u533a\u5f00\u53d1\u7684\u8ba8\u8bba\u548c\u76f8\u5173\u8d44\u6599\u3002<\/p>\n<h1>\u5fc5\u9700\u54c1 de<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">PC(Windows, Linux, Mac)<\/ul>\n<\/li>\n<\/ul>\n<p>Mac\u4e0a\u306b\u4eee\u60f3\u30de\u30b7\u30f3\u7acb\u3066\u305fLinux\u3067\u958b\u767a\u3057\u305f\u3044\u5834\u5408\u3001\u300cVirtualBox + SSH\u3067\u63a5\u7d9a\u300d\u3067\u5341\u5206\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nPostgreSQL\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3001\u5b9f\u884c\u3067\u304d\u308b\u74b0\u5883\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n\u30c7\u30d0\u30c3\u30ac(gdb\u306a\u3069)\u304c\u5165\u3063\u3066\u308b\u3068better\u3002<\/p>\n<p>PostgreSQL\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/p>\n<p>\u5f8c\u8ff0\u3059\u308bgit\u304b\u3089HEAD\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3067\u3082OK\u3002\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u53d6\u5f97\u3057\u3066\u3082OK\u3002<\/p>\n<p>\u30a8\u30c7\u30a3\u30bf<\/p>\n<p>Vim\u3001Emacs\u3001\u5404\u7a2eIDE\u306a\u3069<\/p>\n<p>\u30cd\u30c3\u30c8\u74b0\u5883<\/p>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5165\u624b\u3001\u30e1\u30fc\u30eb\u3050\u3089\u3044\u306a\u306e\u3067\u30c6\u30b6\u30ea\u30f3\u30b0\u3067\u3082\u5341\u5206\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1>\u57fa\u672c\u52a8\u4f5c<\/h1>\n<h2>\u4ece\u83b7\u53d6\u6e90\u4ee3\u7801\u5230\u542f\u52a8<\/h2>\n<p>PostgreSQL\u7684\u5b98\u65b9Git\u4ed3\u5e93\u5730\u5740\u662fgit:\/\/git.postgresql.org\/git\/postgresql.git\u3002<br \/>\n\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u4ecehttp:\/\/www.postgresql.org\/ftp\/source\/\u4e0b\u8f7d\u5e76\u89e3\u538b\u5404\u4e2a\u7248\u672c\u7684\u6e90\u4ee3\u7801\u3002<\/p>\n<pre class=\"post-pre\"><code>\/* git\u3092\u3064\u304b\u3063\u3066\u6700\u65b0\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5165\u624b *\/\r\n$ git clone git:\/\/git.postgresql.org\/git\/postgresql.git\r\n$ cd postgresql\r\n$ .\/configure --prefix=\/home\/hoge\/pgsql\/master --enable-debug --enable-cassert --enable-tap-tests CFLAGS=-O0\r\n$ make -j 2\r\n$ make install\r\n\/* \u3053\u3053\u307e\u3067\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86 *\/\r\n$ cd \/home\/hoge\/pgsql\/master\r\n$ bin\/initdb -D data -E UTF8 --no-locale\r\n$ bin\/pg_ctl start -D data\r\n\/* \u3053\u3053\u307e\u3067\u3067\u8d77\u52d5\u5b8c\u4e86(\u8d77\u52d5\u30dd\u30fc\u30c8\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e5432) *\/\r\n<\/code><\/pre>\n<div>\n<div class=\"post-table\">\u30aa\u30d7\u30b7\u30e7\u30f3\u610f\u5473&#8211;prefix=\/home\/&#8230;PostgreSQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30d1\u30b9&#8211;enable-debug\u30c7\u30d0\u30c3\u30b0\u30b7\u30f3\u30dc\u30eb\u3092\u4ed8\u3051\u3066\u30b3\u30f3\u30d1\u30a4\u30eb&#8211;enable-cassertAssert\u3092\u6709\u52b9\u306b\u3059\u308b&#8211;enable-tap-testsTAP\u30c6\u30b9\u30c8\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081\u3002 Perl\u306eIPC::Run\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002CFLAGS=-O0\u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3068-O2\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067-O0\u306b\u5909\u66f4\u3059\u308b\u3002\u3053\u308c\u3082\u30c7\u30d0\u30c3\u30af\u306e\u305f\u3081\u3002<\/div>\n<\/div>\n<p>\u203b&#8221;make -j 4&#8243;\u4e2d\u7684\u201c-j\u201d\u662f\u7f16\u8bd1\u65f6\u7684\u5e76\u884c\u5ea6\u3002\u5bf9\u4e8e\u591a\u6838\u673a\u5668\u6765\u8bf4\uff0c\u901a\u8fc7\u589e\u52a0\u5e76\u884c\u5ea6\u53ef\u4ee5\u66f4\u5feb\u5730\u5b8c\u6210\u7f16\u8bd1\u5de5\u4f5c\u3002<\/p>\n<h2>\u4f7f\u7528\u591a\u4e2a\u7248\u672c\u65f6<\/h2>\n<p>\u5728\u540c\u65f6\u4f7f\u7528\u591a\u4e2aPostgreSQL\u7248\u672c\u65f6\uff0c\u5c06\u5176\u6309\u4ee5\u4e0b\u65b9\u5f0f\u8fdb\u884c\u76ee\u5f55\u7ed3\u6784\u5e03\u7f6e\u4f1a\u66f4\u5bb9\u6613\u7ba1\u7406\u3002<\/p>\n<pre class=\"post-pre\"><code>\/home\/hoge\r\n   \u2514 pgsql\r\n      \u251c 9.4.5                   \u2190 --prefix\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u6307\u5b9a\u3059\u308b\u30d1\u30b9\r\n      \u2502  \u251c postgresql-9.4.5     \u2190 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u672c\u4f53\r\n      \u2502  \u2502  \u251c src\r\n      \u2502  \u2502  \u251c doc\r\n      \u2502  \u2502  :\r\n      \u2502  \u251c data                 \u2190 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\r\n      \u2502  \u251c bin\r\n      \u2502  \u251c include\r\n      \u2502  \u251c lib\r\n      \u2502  \u2514 share\r\n      \u251c master                  \u2190 --prefix\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u6307\u5b9a\u3059\u308b\u30d1\u30b9\r\n      \u2502  \u251c postgresql           \u2190 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u672c\u4f53\r\n      \u2502  \u2502  \u251c src\r\n      \u2502  \u2502  \u251c doc\r\n      \u2502  \u2502  :\r\n      \u2502  \u251c data                 \u2190 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf(initdb\u30b3\u30de\u30f3\u30c9\u3067\u6307\u5b9a)\r\n      \u2502  \u251c bin\r\n      \u2502  \u251c include\r\n      \u2502  \u251c lib\r\n      \u2502  \u2514 share\r\n      :\r\n<\/code><\/pre>\n<p>\u6539\u53d8\uff0c\u4ee5\u4fbf\u5b83\u4eec\u4e0d\u4f1a\u76f8\u4e92\u5e72\u6270\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d0\u30fc\u30b8\u30e7\u30f39.4.5 -&gt; 5945\u756a\u30dd\u30fc\u30c8<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d0\u30fc\u30b8\u30e7\u30f39.3.2 -&gt; 5932\u756a\u30dd\u30fc\u30c8<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">git\u304b\u3089\u53d6\u5f97\u3057\u305fHEAD -&gt; 5432\u756a\u30dd\u30fc\u30c8(\u30c7\u30d5\u30a9\u30eb\u30c8)<\/ul>\n<p>\u5c06\u7aef\u53e3\u53f7\u4e0e\u7248\u672c\u5173\u8054\u8d77\u6765\u53ef\u4ee5\u66f4\u8f7b\u677e\u5730\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<p>\u53ea\u9700\u66f4\u6539\u7aef\u53e3\u53f7\u5c31\u53ef\u4ee5\u542f\u52a8\uff0c\u800c\u65e0\u9700\u7f16\u8f91postgresql.conf<br \/>\n\u4f7f\u7528\u547d\u4ee4$ pg_ctl start -D data -o &#8220;-p 5945&#8221; \u53ef\u4ee5\u66f4\u6539\u7aef\u53e3\u53f7\u5e76\u542f\u52a8\u3002<\/p>\n<h2>\u67e5\u770b\u6e90\u4ee3\u7801<\/h2>\n<p>\u6211\u8ba4\u4e3a\u901a\u8fc7\u7f16\u8f91\u5668\u67e5\u770b\u6e90\u4ee3\u7801\u662f\u6700\u597d\u7684\u65b9\u6cd5\u3002<br \/>\n\u7136\u800c\uff0c\u60a8\u4e5f\u53ef\u4ee5\u901a\u8fc7http:\/\/doxygen.postgresql.org\u4ee5HEAD\u7248\u672c\u7684\u6e90\u4ee3\u7801\u8fdb\u884c\u7f51\u7edc\u67e5\u770b\u3002<br \/>\n\u4ee5\u4e0b\u662f\u4f7f\u7528Emacs\u8fdb\u884c\u6807\u7b7e\u8df3\u8f6c\u7684\u4f8b\u5b50\u3002<\/p>\n<pre class=\"post-pre\"><code>\/<span class=\"k\">*<\/span> \u30bf\u30b0\u30b8\u30e3\u30f3\u30d7\u306e\u8a2d\u5b9a <span class=\"k\">*<\/span>\/\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">cd<\/span> &lt;\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30c8\u30c3\u30d7\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5&gt;\r\n<span class=\"nv\">$ <\/span>sh src\/tools\/make_stags\r\n<\/code><\/pre>\n<p>\u53ea\u9700\u542f\u52a8Emacs\u5e76\u8f93\u5165M-.\uff0c\u7136\u540e\u8f93\u5165\u60a8\u60f3\u8df3\u8f6c\u5230\u7684\u51fd\u6570\u6216\u53d8\u91cf\u540d\u5373\u53ef\u8df3\u8f6c\u3002<\/p>\n<h1>\u4ee3\u7801\u5ba1\u67e5\u548c\u529f\u80fd\u5f00\u53d1<\/h1>\n<p>\u8bf7\u5148\u67e5\u9605\u8fd9\u4efd\u8d44\u6599\u3002\u5b83\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u201c\u8865\u4e01\u5ba1\u6838\u201d\u7684\u6d41\u7a0b\u548c\u65b9\u6cd5\u3002<\/p>\n<h2>\u5982\u4f55\u9032\u884c\u88dc\u4e01\u5b89\u88dd<\/h2>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">cd<\/span> &lt;\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30c8\u30c3\u30d7\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5&gt;\r\n<span class=\"nv\">$ <\/span>patch <span class=\"nt\">-d<\/span><span class=\"nb\">.<\/span> &lt; \/tmp\/new_feature.patch\r\n\u307e\u305f\u306f\r\n<span class=\"nv\">$ <\/span>git apply \/tmp\/new_feature.patch\r\n<\/code><\/pre>\n<p>\u203b patch\u547d\u4ee4\u5e94\u7528\u4e86\u6240\u6709\u53ef\u66f4\u6539\u7684\u90e8\u5206\uff0c\u800cgit apply\u4ec5\u5728\u6240\u6709\u66f4\u6539\u90fd\u6210\u529f\u5e94\u7528\u65f6\u624d\u4f1a\u5e94\u7528\u66f4\u6539\u3002<\/p>\n<h2>git\u64cd\u4f5c\u6307\u7684\u662f\u4f7f\u7528Git\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u8fdb\u884c\u5404\u79cd\u64cd\u4f5c\u7684\u8fc7\u7a0b\u3002<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u6700\u65b0\u306e\u72b6\u614b\u306b\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">$ git pull origin master<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u65b0\u3057\u3044\u6a5f\u80fd\u3092\u4f5c\u308b\u305f\u3081\u306b\u30d6\u30e9\u30f3\u30c1\u3092\u5207\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">$ git checkout -b new_feature<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u73fe\u5728\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u78ba\u8a8d\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">$ git branch -v<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u73fe\u5728\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u5207\u308a\u66ff\u3048\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">$ git checkout new_feature<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3053\u308c\u307e\u3067\u52a0\u3048\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3092\u5143\u306b\u623b\u3059(HEAD\u307e\u3067)<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">$ git reset &#8211;hard HEAD<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3042\u308b\u884c\u304c\u3069\u306e\u30b3\u30df\u30c3\u30c8\u3067\u5909\u66f4\u3055\u308c\u305f\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3068\u304d<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">$ git blame src\/backend\/replication\/syncrep.c<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u7279\u5b9a\u306e\u30d6\u30e9\u30f3\u30c1\u306ediff\u3092\u51fa\u529b\u3059\u308b(new_feature\u30d6\u30e9\u30f3\u30c1\u3067\u65b0\u3057\u3044\u6a5f\u80fd\u3092\u4f5c\u308a\u3001\u305d\u306e\u30d1\u30c3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306b\u4f7f\u3044\u307e\u3059)<\/ul>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>git checkout new_feature\r\n<span class=\"nv\">$ <\/span>git diff master\r\n\/<span class=\"k\">*<\/span> \u30d1\u30c3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059 <span class=\"k\">*<\/span>\/\r\n<span class=\"nv\">$ <\/span>git diff master <span class=\"o\">&gt;<\/span> new_feature.patch\r\n<\/code><\/pre>\n<h2>\u56de\u5f52\u6d4b\u8bd5<\/h2>\n<p>\u7531\u4e8ePostgreSQL\u5177\u6709\u56de\u5f52\u6d4b\u8bd5\u529f\u80fd\uff0c\u6211\u4eec\u5c06\u5229\u7528\u8be5\u529f\u80fd\u3002<br \/>\n\u4ee5\u4e0b\u662f\u5728PostgreSQL\u4e2d\u6267\u884c\u591a\u91cd\u5ea6\u4e3a4\u7684\u56de\u5f52\u6d4b\u8bd5\u7684\u793a\u4f8b\uff0c\u6db5\u76d6\u4e86\u6240\u6709\u529f\u80fd\uff08\u5305\u62ecContrib\u6a21\u5757\uff09\u3002\u4e3a\u4e86\u540e\u7eed\u786e\u8ba4\u6267\u884c\u65e5\u5fd7\uff0c\u6211\u4eec\u4f7f\u7528\u4e86tee\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>$ cd &lt;\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30c8\u30c3\u30d7\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u79fb\u52d5&gt;\r\n$ make check-world -j 4 | tee \/tmp\/check-world.log\r\n$ less \/tmp\/check-world.log\r\n\/* FAILED\u306a\u3069\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u63a2\u3057\u3066\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059 *\/\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\u30ea\u30b0\u30ec\u30c3\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u306e\u7a2e\u985e<\/ul>\n<div>\n<div class=\"post-table\">\u76ee\u7684\u624b\u9806\u5099\u8003PostgreSQL\u672c\u4f53 + Contrib\u30e2\u30b8\u30e5\u30fc\u30eb<code>$ make check-world<\/code>-PostgreSQL\u672c\u4f53\u306e\u307f<code>$ make check<\/code>-PostgreSQL\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30c4\u30fc\u30eb(psql\u3084pg_dump\u306e\u307f)src\/bin\u306b\u79fb\u52d5\u3057\u3066<code>$ make check<\/code>\u3002\u307e\u305f\u306f\u3001<code>$ make check -C src\/bin<\/code>\u7279\u5b9a\u306e\u30c4\u30fc\u30eb\u306e\u307f\u3092\u30c6\u30b9\u30c8\u3057\u305f\u3044\u5834\u5408\u306f\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u79fb\u52d5\u3057\u3066<code>make check<\/code>\u3002\u307e\u305f\u306f-C\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3059\u308b\u3002PostgreSQL\u306eContrib\u30e2\u30b8\u30e5\u30fc\u30ebcontrib\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066<code>$ make check<\/code>\u307e\u305f\u306f<code>$ make check -C contrib<\/code>\u7279\u5b9a\u306eContrib\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u307f\u3092\u30c6\u30b9\u30c8\u3057\u305f\u3044\u5834\u5408\u306f\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u79fb\u52d5\u3057\u3066<code>make check<\/code>\u3002\u307e\u305f\u306f-C\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3059\u308b\u3002<\/div>\n<\/div>\n<p>\u5728\u56de\u5f52\u6d4b\u8bd5\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528&#8221;make check -j 3&#8243;\u547d\u4ee4\u6765\u63d0\u9ad8\u5e76\u884c\u5ea6\u8fdb\u884c\u6267\u884c\u3002<\/p>\n<h2>\u8c03\u8bd5<\/h2>\n<p>\u5728Emacs\u4e2d\uff0c\u901a\u8fc7\u4f7f\u7528Emacs + gdb\u8fdb\u884c\u8c03\u8bd5\u53ef\u4ee5\u5728\u67e5\u770b\u6e90\u4ee3\u7801\u7684\u540c\u65f6\u9ad8\u6548\u5730\u8fdb\u884c\u8c03\u8bd5\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u9644\u52a0\u5230\u5df2\u542f\u52a8\u7684PostgreSQL\u670d\u52a1\u5668\u8fdb\u7a0b\u5e76\u8fdb\u884c\u8c03\u8bd5\u7684\u6b65\u9aa4\u3002\u4f7f\u7528\u4e24\u4e2a\u7ec8\u7aef\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30bf\u30fc\u30df\u30ca\u30ebA : \u30b5\u30fc\u30d0\u3078\u63a5\u7d9a\u3057\u3001SQL\u3092\u5165\u529b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30bf\u30fc\u30df\u30ca\u30ebB : Emacs+gdb\u3092\u8d77\u52d5\u3057\u30c7\u30d0\u30c3\u30b0\u3002<\/ul>\n<pre class=\"post-pre\"><code>\/<span class=\"k\">*<\/span> \u4e8b\u524d\u306bPostgreSQL\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u3066\u304a\u304d\u307e\u3059 <span class=\"k\">*<\/span>\/\r\n<span class=\"nv\">$ <\/span>psql <span class=\"nt\">-d<\/span> postgres\r\npsql <span class=\"o\">(<\/span>9.6devel<span class=\"o\">)<\/span>\r\nType <span class=\"s2\">\"help\"<\/span> <span class=\"k\">for <\/span>help.\r\n\r\npostgres<span class=\"o\">(<\/span>1<span class=\"o\">)=<\/span><span class=\"c\"># <\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>\/<span class=\"k\">*<\/span> \u30b5\u30fc\u30d0\u30d7\u30ed\u30bb\u30b9\u306epid\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u3060\u30685145\u304c\u30a2\u30bf\u30c3\u30c1\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002 <span class=\"k\">*<\/span>\/\r\n<span class=\"nv\">$ <\/span>ps x | <span class=\"nb\">grep <\/span>postgres\r\n 5122 pts\/7    S      0:00 \/home\/masahiko\/pgsql\/master\/bin\/postgres <span class=\"nt\">-D<\/span> data\r\n 5124 ?        Ss     0:00 postgres: checkpointer process                  \r\n 5125 ?        Ss     0:00 postgres: writer process                        \r\n 5126 ?        Ss     0:00 postgres: wal writer process                    \r\n 5127 ?        Ss     0:00 postgres: autovacuum launcher process           \r\n 5128 ?        Ss     0:00 postgres: stats collector process               \r\n 5144 pts\/7    S+     0:00 bin\/psql <span class=\"nt\">-d<\/span> postgres\r\n 5145 ?        Ss     0:00 postgres: masahiko postgres <span class=\"o\">[<\/span><span class=\"nb\">local<\/span><span class=\"o\">]<\/span> idle        \r\n 5221 pts\/9    S+     0:00 <span class=\"nb\">grep <\/span>postgres\r\n\r\n\/<span class=\"k\">*<\/span> Emacs\u3092\u8d77\u52d5\u3002-nw\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u3053\u3068\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u5185\u3067Emacs\u304c\u8d77\u52d5\u53ef\u80fd\u3002<span class=\"k\">*<\/span>\/\r\n<span class=\"nv\">$ <\/span>emacs <span class=\"nt\">-nw<\/span>\r\n\u300cM-x gdb\u300d\u3092\u5165\u529b\u3057\u3001\r\n\u300cRun gdb <span class=\"o\">(<\/span>like this<span class=\"o\">)<\/span>: gdb <span class=\"nt\">--annotate<\/span><span class=\"o\">=<\/span>3\u300d\u3000\u3068\u51fa\u305f\u3089\u3001\r\n\u300cRun gdb <span class=\"o\">(<\/span>like this<span class=\"o\">)<\/span>: gdb <span class=\"nt\">--annotate<\/span><span class=\"o\">=<\/span>3 attach 5145\u300d\u3000\u3068\u5165\u529b\u3057Enter\u3002\r\n\u4ee5\u964d\u306f\u3001gdb\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30d0\u30c3\u30b0\u3092\u884c\u3044\u307e\u3059\u3002\r\n<\/code><\/pre>\n<h1>\u8bf7\u53d1\u90ae\u4ef6\u3002<\/h1>\n<p>\u53ef\u4ee5\u4f7f\u7528\u73b0\u6709\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u4e5f\u53ef\u4ee5\u65b0\u5efa\u4e00\u4e2a\u7528\u4e8e\u793e\u7fa4\u5f00\u53d1\u7684 Gmail \u8d26\u53f7\u3002<\/p>\n<p>\u8bf7\u4ecehttp:\/\/www.postgresql.org\/community\/lists\/subscribe\/ \u4e0a\u6ce8\u518cML\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pgsql-hackers<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pgsql-bugs<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pgsql-general<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">pgsql-committers<\/ul>\n<p>\u60a8\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u9879\uff0c\u6240\u4ee5\u4ee5\u4e0b\u662f\u7528\u4e2d\u6587\u672c\u5730\u5316\u7684\u91ca\u4e49\uff1a<\/p>\n<p>\u6ce8\u518c\u3002<br \/>\n\u6709\u5173\u5199\u7535\u5b50\u90ae\u4ef6\u65f6\u7684\u8981\u70b9\u4e5f\u5728\u6b64\u8d44\u6599\u4e2d\u6709\u63d0\u53ca\u3002<br \/>\n\u6b64\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u7684\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u82f1\u8a9e\u306e\u30b3\u30e1\u30f3\u30c8\u3084 issue \u3067\u983b\u51fa\u3059\u308b\u7565\u8a9e\u306e\u610f\u5473 (FYI, AFAIK, &#8230;)<\/ul>\n<\/li>\n<\/ul>\n<p>http:\/\/qiita.com\/uasi\/items\/86c3a09d17792ab62dfe<\/p>\n<h1>\u63d0\u4ea4\u8282<\/h1>\n<p>\u5173\u4e8eCommit Fest\uff0c\u8bf7\u67e5\u770b\u8fd9\u91cc\uff08Wiki\uff09\u3002<br \/>\nCommit Fest\u94fe\u63a5\u5728\u8fd9\u91cc\u3002<\/p>\n<ul class=\"post-ul\">Commit Fest\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u4e00\u89a7<\/ul>\n<div>\n<div class=\"post-table\">\u7a2e\u985e\u30b9\u30c6\u30fc\u30bf\u30b9\u610f\u5473\u5099\u8003ActiveNeeds Review\u30ec\u30d3\u30e5\u30fc\u5f85\u3061\u306e\u30d1\u30c3\u30c1-ActiveWaiting on Author\u30d1\u30c3\u30c1\u4f5c\u8005\u306e\u4fee\u6b63\u30fb\u66f4\u65b0\u5f85\u3061-ActiveReady for Committer\u30b3\u30df\u30c3\u30bf\u30fc\u306e\u30b3\u30df\u30c3\u30c8\u5f85\u3061\u30ec\u30d3\u30e5\u30ef\u30fc\u306e\u4ed5\u4e8b\u306f\u7d42\u4e86CloseCommitted\u30b3\u30df\u30c3\u30c8\u6e08\u307f-CloseMove on next CF\u6b21\u306eCF\u3078\u30ec\u30d3\u30e5\u30fc\u306e\u6642\u9593\u304c\u8db3\u308a\u306a\u3044\u5834\u5408\u306b\u306a\u308b\u6642\u304c\u591a\u3044\u3067\u3059CloseRejected\u63d0\u6848\u5374\u4e0b\u4ee5\u964d\u306eCF\u3067\u518d\u5ea6\u63d0\u6848\u3057\u3066\u3082\u305f\u3076\u3093\u53d7\u3051\u5165\u308c\u3089\u308c\u307e\u305b\u3093CloseReturned with Feedback\u8ab2\u984c\u3042\u308a\u8b70\u8ad6\u4e2d\u306b\u4f55\u304b\u8ab2\u984c\u304c\u3042\u308a\u3001\u305d\u308c\u304c\u89e3\u6c7a\u3057\u3057\u305f\u3089\u518d\u63d0\u6848\u3057\u307e\u3059<\/div>\n<\/div>\n<p>\u9009\u62e9\u201c\u9700\u8981\u5ba1\u6838\u201d\u7684\u4fee\u8865\u7a0b\u5e8f\u6765\u8fdb\u884c\u5ba1\u67e5\u65f6\u66f4\u5bb9\u6613\u7740\u624b\u3002<\/p>\n<h1>\u70b9\u51fb\u76f8\u5173\u8d44\u6599\u7684\u94fe\u63a5<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">PostgreSQL\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u98db\u3073\u8fbc\u3082\u3046<\/ul>\n<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" title=\"PostgreSQL\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u98db\u3073\u8fbc\u3082\u3046\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/iBlDxu0QtrJdau\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/hadoopxnttdata\/patch-review-postgresql-community-nttdata\" title=\"PostgreSQL\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u98db\u3073\u8fbc\u3082\u3046\" target=\"_blank\">PostgreSQL\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u98db\u3073\u8fbc\u3082\u3046<\/a> <\/strong> from <strong><a href=\"https:\/\/www.slideshare.net\/hadoopxnttdata\" target=\"_blank\">NTT DATA OSS Professional Services<\/a><\/strong> <\/div>\n<p>PostgreSQL\u30cf\u30c3\u30ad\u30f3\u30b0\u3000\u6700\u521d\u306e\u4e00\u6b69<\/p>\n<p>https:\/\/www.slideshare.net\/secret\/t4EBtDL4qyMZjG<\/p>\n<p>C\u8a00\u8a9e\u306b\u3088\u308b\u30e6\u30fc\u30b6\u5b9a\u7fa9\u95a2\u6570\u306e\u4f5c\u308a\u65b9<\/p>\n<p><iframe loading=\"lazy\" title=\"PostgreSQL\u000b - C\u8a00\u8a9e\u306b\u3088\u308b\u30e6\u30fc\u30b6\u5b9a\u7fa9\u95a2\u6570\u306e\u4f5c\u308a\u65b9\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/ksmuFbqfojfELE\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/snaga\/how-towritepgfunc\" title=\"PostgreSQL - C\u8a00\u8a9e\u306b\u3088\u308b\u30e6\u30fc\u30b6\u5b9a\u7fa9\u95a2\u6570\u306e\u4f5c\u308a\u65b9\" target=\"_blank\">PostgreSQL &#8211; C\u8a00\u8a9e\u306b\u3088\u308b\u30e6\u30fc\u30b6\u5b9a\u7fa9\u95a2\u6570\u306e\u4f5c\u308a\u65b9<\/a> <\/strong> from <strong><a href=\"https:\/\/www.slideshare.net\/snaga\" target=\"_blank\">Satoshi Nagayasu<\/a><\/strong> <\/div>\n<p>PostgreSQL\u958b\u767a\u3053\u3068\u306f\u3058\u3081<\/p>\n<p><iframe loading=\"lazy\" title=\"PostgreSQL\u958b\u767a\u3053\u3068\u306f\u3058\u3081\uff20Hackers Champloo 2014\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/lerXjU3HNyR1Cy\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/babystarmonja\/postgresqlhackers-champloo-2014\" title=\"PostgreSQL\u958b\u767a\u3053\u3068\u306f\u3058\u3081\uff20Hackers Champloo 2014\" target=\"_blank\">PostgreSQL\u958b\u767a\u3053\u3068\u306f\u3058\u3081\uff20Hackers Champloo 2014<\/a> <\/strong> from <strong><a href=\"https:\/\/www.slideshare.net\/babystarmonja\" target=\"_blank\">Shigeru Hanada<\/a><\/strong> <\/div>\n<p>\u4ee5\u4e0a\u7684\u662f\u6709\u5173PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c\u7684\u603b\u7ed3\u3002\u8bf7\u52a1\u5fc5\u52a0\u5165PostgreSQL\u793e\u533a\uff01JPUG\u4e3b\u6301\u7684\u201cPostgreSQL\u65b0\u624b\u9a6c\u62c9\u677e\uff08\u4e34\u65f6\u540d\u79f0\uff09\u201d\u4e5f\u6b63\u5728\u8ba1\u5212\u4e2d\uff0c\u9884\u8ba1\u4f1a\u57282016\u5e742\u6708\u62163\u6708\u5de6\u53f3\u4e3e\u884c\u3002<\/p>\n<p>\u660e\u5929\u7684 PostgreSQL Advent Calendar \u5c06\u7531 syobochim \u62c5\u4efb\u3002\u8bf7\u591a\u591a\u5173\u7167\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u662f\u6765\u81ea\u5370\u5ea6\u7684\u6295\u7a3f\u3002 \u6709\u4e00\u4e9b\u5e7b\u71c8\u7247\u63d0\u4f9b\u4e86\u6709\u95dcPostgreSQL\u958b\u767c\u548c\u52a0\u5165PostgreSQL\u793e\u5340\u7684\u6709\u7528\u4fe1\u606f\uff0c [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-42005","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6458\u8981postgresql\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c\" \/>\n<meta property=\"og:description\" content=\"\u8fd9\u662f\u6765\u81ea\u5370\u5ea6\u7684\u6295\u7a3f\u3002 \u6709\u4e00\u4e9b\u5e7b\u71c8\u7247\u63d0\u4f9b\u4e86\u6709\u95dcPostgreSQL\u958b\u767c\u548c\u52a0\u5165PostgreSQL\u793e\u5340\u7684\u6709\u7528\u4fe1\u606f\uff0c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6458\u8981postgresql\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-11T17:45:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T18:16:29+00:00\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/\",\"name\":\"\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-01-11T17:45:21+00:00\",\"dateModified\":\"2024-04-29T18:16:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u6458\u8981postgresql\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c","og_description":"\u8fd9\u662f\u6765\u81ea\u5370\u5ea6\u7684\u6295\u7a3f\u3002 \u6709\u4e00\u4e9b\u5e7b\u71c8\u7247\u63d0\u4f9b\u4e86\u6709\u95dcPostgreSQL\u958b\u767c\u548c\u52a0\u5165PostgreSQL\u793e\u5340\u7684\u6709\u7528\u4fe1\u606f\uff0c [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6458\u8981postgresql\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-01-11T17:45:21+00:00","article_modified_time":"2024-04-29T18:16:29+00:00","author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/","name":"\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-01-11T17:45:21+00:00","dateModified":"2024-04-29T18:16:29+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6458\u8981PostgreSQL\u5f00\u53d1\u7684\u57fa\u672c\u64cd\u4f5c"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%91%98%e8%a6%81postgresql%e5%bc%80%e5%8f%91%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=42005"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42005\/revisions"}],"predecessor-version":[{"id":89074,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42005\/revisions\/89074"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=42005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=42005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=42005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}