{"id":42168,"date":"2024-01-19T11:25:41","date_gmt":"2023-06-04T02:59:08","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/"},"modified":"2024-05-04T19:05:45","modified_gmt":"2024-05-04T11:05:45","slug":"%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/","title":{"rendered":"\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d"},"content":{"rendered":"<p>\u6211\u5c1d\u8bd5\u5728PostgreSQL9.3\u4e0a\u5b89\u88c5tdeforpg\u3002<\/p>\n<p>\u64cd\u4f5c\u7cfb\u7edf\uff1aCentOS 6.6\uff08x64\uff09<br \/>\nPostgreSQL\uff1a\u4f7f\u7528RPM\u8fdb\u884c\u65b0\u5b89\u88c5\u5e76\u8fdb\u884cSRPM\u7f16\u8bd1\u3002<\/p>\n<p>\u6211\u5c06\u5728\u4e00\u4e2a\u4e0d\u540c\u7684\u73af\u5883\u4e2d\u8fdb\u884c\u5c1d\u8bd5\u3002<\/p>\n<h3>RPM\u7684\u5b89\u88c5<\/h3>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code># rpm -ivh http:\/\/yum.postgresql.org\/9.3\/redhat\/rhel-6-x86_64\/pgdg-redhat93-9.3-1.noarch.rpm\r\n\r\nyum install postgresql93 postgresql93-server postgresql93-libs postgresql93-contrib postgresql93-devel postgresql93-test\r\n\r\n\uff5e\u4e2d\u7565\uff5e\r\n\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:\r\n  postgresql93.x86_64 0:9.3.9-1PGDG.rhel6\r\n  postgresql93-contrib.x86_64 0:9.3.9-1PGDG.rhel6\r\n  postgresql93-devel.x86_64 0:9.3.9-1PGDG.rhel6\r\n  postgresql93-libs.x86_64 0:9.3.9-1PGDG.rhel6\r\n  postgresql93-server.x86_64 0:9.3.9-1PGDG.rhel6\r\n  postgresql93-test.x86_64 0:9.3.9-1PGDG.rhel6\r\n\r\n\u5b8c\u4e86\u3057\u307e\u3057\u305f!<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h3>\u83b7\u53d6\u6e90\u4ee3\u7801<\/h3>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code>\r\n # yumdownloader --source postgresql93\r\n # rpm -ivh postgresql93-9.3.9-1PGDG.rhel6.src.rpm\r\n # cd rpmbuild\/SPECS\/\r\n # rpmbuild -bp postgresql-9.3.spec\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code># service postgresql-9.3 initdb\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h3>\u6784\u5efa\u548c\u5b89\u88c5<\/h3>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code> # cd \/usr\/local\/src\/\r\n # git clone https:\/\/github.com\/nec-postgres\/tdeforpg.git<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code>\r\n # export PGSRC=~\/rpmbuild\/BUILD\/postgresql-9.3.9\r\n # export PGHOME=\/usr\/pgsql-9.3\r\n # export TDEHOME=\/usr\/local\/src\/tdeforpg\r\n # export PATH=\/usr\/pgsql-9.3\/bin\/:$PATH\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code>\r\n # ln -s $PGHOME\/lib\/pgcrypto.so \/usr\/lib64\/libpgcrypto.so\r\n # cd $PGSRC\r\n # .\/configure\r\n # cd $TDEHOME\/SOURCES\/data_encryption\r\n # ln -s $PGSRC\/src\/backend\/utils\/errcodes.h $PGSRC\/src\/include\/utils\/errcodes.h\r\n # sh makedencryption.sh 93 $PGSRC\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h3>PostgreSQL\u7684\u8bbe\u7f6e<\/h3>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code>\r\n # ln -s $TDEHOME\/SOURCES\/data_encryption\/93\/data_encryption93.so \/usr\/lib64\/data_encryption.so\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code>shared_preload_libraries='\/usr\/lib64\/data_encryption.so'\r\n<\/code><\/pre>\n<h3>\u542f\u52a8PostgreSQL<\/h3>\n<p>\u542f\u52a8\u5e76\u786e\u8ba4\u6a21\u5757\u52a0\u8f7d\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\n # \/etc\/init.d\/postgresql-9.3 start\r\npostgresql-9.3 \u30b5\u30fc\u30d3\u30b9\u3092\u958b\u59cb\u4e2d:                           [  OK  ]\r\n\r\n# cat \/var\/lib\/pgsql\/9.3\/pgstartup.log\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>\u6210\u529f\u3057\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\r\n\r\n    \/usr\/pgsql-9.3\/bin\/postmaster -D \/var\/lib\/pgsql\/9.3\/data\r\n\u307e\u305f\u306f\r\n    \/usr\/pgsql-9.3\/bin\/pg_ctl -D \/var\/lib\/pgsql\/9.3\/data -l logfile start\r\n\r\n&lt; 2015-06-22 18:47:51.286 JST &gt;LOG:  \u30e9\u30a4\u30d6\u30e9\u30ea\"\/usr\/lib64\/data_encryption.so\"\u3092\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\r\n<\/code><\/pre>\n<h3>\u5b89\u88c5TDE\u529f\u80fd<\/h3>\n<p>\u5728\u8fd9\u91cc<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30e6\u30fc\u30b6\uff1apostgres<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\uff1apostgres<\/ul>\n<p>\u8bbe\u5b9a\u4e3a (\u5df2\u4fee\u6539 pg_hba.conf)\u3002<\/p>\n<pre class=\"post-pre\"><code># cd $TDEHOME\/SOURCES\r\n# sh bin\/cipher_setup.sh $PGHOME<\/code><\/pre>\n<pre class=\"post-pre\"><code>Transparent data encryption feature setup script\r\nPlease select from the setup menu below\r\nTransparent data encryption feature setup menu\r\n1: activate  the transparent data encryption feature\r\n2: inactivate the transparent data encryption feature\r\nselect menu [1 - 2] &gt; 1\r\nPlease enter database server port to connect : 5432\r\nPlease enter database user name to connect : postgres\r\nPlease enter password for authentication :\r\nPlease enter database name to connect : postgres\r\nCREATE LANGUAGE\r\nINFO: Transparent data encryption feature has been activated<\/code><\/pre>\n<p>\u4f7f\u7528postgres\u7528\u6237\u8fde\u63a5\u5e76\u542f\u7528pgcrypto<\/p>\n<pre class=\"post-pre\"><code># psql -U postgres<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code>\r\npostgres=# create extension pgcrypto;\r\nCREATE EXTENSION\r\n\r\npostgres=# \\d\r\n                \u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u4e00\u89a7\r\n \u30b9\u30ad\u30fc\u30de |       \u540d\u524d       |    \u578b    |  \u6240\u6709\u8005\r\n----------+------------------+----------+----------\r\n public   | cipher_key_table | \u30c6\u30fc\u30d6\u30eb | postgres\r\n(1 \u884c)\r\n\r\npostgres=# \\df\r\n                                               \u95a2\u6570\u4e00\u89a7\r\n \u30b9\u30ad\u30fc\u30de |           \u540d\u524d            | \u7d50\u679c\u306e\u30c7\u30fc\u30bf\u578b |        \u5f15\u6570\u306e\u30c7\u30fc\u30bf\u578b        |       \u578b\r\n----------+---------------------------+----------------+------------------------------+----------------\r\n public   | armor                     | text           | bytea                        | normal\uff08\u901a\u5e38\uff09\r\n public   | cipher_key_backup         | boolean        |                              | normal\uff08\u901a\u5e38\uff09\r\n public   | cipher_key_disable_log    | boolean        |                              | normal\uff08\u901a\u5e38\uff09\r\n public   | cipher_key_enable_log     | boolean        |                              | normal\uff08\u901a\u5e38\uff09\r\n public   | cipher_key_reencrypt_data | boolean        | text, text, text             | normal\uff08\u901a\u5e38\uff09\r\n public   | cipher_key_regist         | integer        | text, text, text             | normal\uff08\u901a\u5e38\uff09\r\n public   | crypt                     | text           | text, text                   | normal\uff08\u901a\u5e38\uff09\r\n public   | dearmor                   | bytea          | text                         | normal\uff08\u901a\u5e38\uff09\r\n public   | decrypt                   | bytea          | bytea, bytea, text           | normal\uff08\u901a\u5e38\uff09\r\n public   | decrypt_iv                | bytea          | bytea, bytea, bytea, text    | normal\uff08\u901a\u5e38\uff09\r\n public   | digest                    | bytea          | bytea, text                  | normal\uff08\u901a\u5e38\uff09\r\n public   | digest                    | bytea          | text, text                   | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_compeq_bytea_encbytea | boolean        | bytea, encrypt_bytea         | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_compeq_encbytea       | boolean        | encrypt_bytea, encrypt_bytea | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_compeq_encbytea_bytea | boolean        | encrypt_bytea, bytea         | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_compeq_enctext        | boolean        | encrypt_text, encrypt_text   | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_compeq_enctext_text   | boolean        | encrypt_text, text           | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_compeq_text_enctext   | boolean        | text, encrypt_text           | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_drop_key_info         | boolean        |                              | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_drop_old_key_info     | boolean        |                              | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_hash_encbytea         | integer        | encrypt_bytea                | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_hash_enctext          | integer        | encrypt_text                 | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_rename_backupfile     | boolean        | text, text                   | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_restore_logsetting    | boolean        |                              | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_save_logsetting       | boolean        |                              | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_store_key_info        | boolean        | text, text                   | normal\uff08\u901a\u5e38\uff09\r\n public   | enc_store_old_key_info    | boolean        | text, text                   | normal\uff08\u901a\u5e38\uff09\r\n public   | encbytea_in               | encrypt_bytea  | cstring                      | normal\uff08\u901a\u5e38\uff09\r\n public   | encbytea_out              | cstring        | encrypt_bytea                | normal\uff08\u901a\u5e38\uff09\r\n public   | encbytea_recv             | encrypt_bytea  | internal                     | normal\uff08\u901a\u5e38\uff09\r\n public   | encbytea_send             | bytea          | encrypt_bytea                | normal\uff08\u901a\u5e38\uff09\r\n public   | encrypt                   | bytea          | bytea, bytea, text           | normal\uff08\u901a\u5e38\uff09\r\n public   | encrypt_iv                | bytea          | bytea, bytea, bytea, text    | normal\uff08\u901a\u5e38\uff09\r\n public   | enctext_in                | encrypt_text   | cstring                      | normal\uff08\u901a\u5e38\uff09\r\n public   | enctext_out               | cstring        | encrypt_text                 | normal\uff08\u901a\u5e38\uff09\r\n public   | enctext_recv              | encrypt_text   | internal                     | normal\uff08\u901a\u5e38\uff09\r\n public   | enctext_send              | bytea          | encrypt_text                 | normal\uff08\u901a\u5e38\uff09\r\n public   | gen_random_bytes          | bytea          | integer                      | normal\uff08\u901a\u5e38\uff09\r\n public   | gen_salt                  | text           | text                         | normal\uff08\u901a\u5e38\uff09\r\n public   | gen_salt                  | text           | text, integer                | normal\uff08\u901a\u5e38\uff09\r\n public   | hmac                      | bytea          | bytea, bytea, text           | normal\uff08\u901a\u5e38\uff09\r\n public   | hmac                      | bytea          | text, text, text             | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_key_id                | text           | bytea                        | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_decrypt           | text           | bytea, bytea                 | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_decrypt           | text           | bytea, bytea, text           | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_decrypt           | text           | bytea, bytea, text, text     | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_decrypt_bytea     | bytea          | bytea, bytea                 | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_decrypt_bytea     | bytea          | bytea, bytea, text           | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_decrypt_bytea     | bytea          | bytea, bytea, text, text     | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_encrypt           | bytea          | text, bytea                  | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_encrypt           | bytea          | text, bytea, text            | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_encrypt_bytea     | bytea          | bytea, bytea                 | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_pub_encrypt_bytea     | bytea          | bytea, bytea, text           | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_sym_decrypt           | text           | bytea, text                  | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_sym_decrypt           | text           | bytea, text, text            | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_sym_decrypt_bytea     | bytea          | bytea, text                  | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_sym_decrypt_bytea     | bytea          | bytea, text, text            | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_sym_encrypt           | bytea          | text, text                   | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_sym_encrypt           | bytea          | text, text, text             | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_sym_encrypt_bytea     | bytea          | bytea, text                  | normal\uff08\u901a\u5e38\uff09\r\n public   | pgp_sym_encrypt_bytea     | bytea          | bytea, text, text            | normal\uff08\u901a\u5e38\uff09\r\n public   | pgtde_begin_session       | boolean        | text                         | normal\uff08\u901a\u5e38\uff09\r\n public   | pgtde_end_session         | boolean        |                              | normal\uff08\u901a\u5e38\uff09\r\n(63 \u884c)<\/code><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u5c1d\u8bd5\u5728PostgreSQL9.3\u4e0a\u5b89\u88c5tdeforpg\u3002 \u64cd\u4f5c\u7cfb\u7edf\uff1aCentOS 6.6\uff08x64\uff09 Post [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-42168","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>\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d - 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\/\u5c1d\u8bd5\u5b89\u88c5-postgresql-\u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d\" \/>\n<meta property=\"og:description\" content=\"\u6211\u5c1d\u8bd5\u5728PostgreSQL9.3\u4e0a\u5b89\u88c5tdeforpg\u3002 \u64cd\u4f5c\u7cfb\u7edf\uff1aCentOS 6.6\uff08x64\uff09 Post [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u5b89\u88c5-postgresql-\u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-04T02:59:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T11:05:45+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \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\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/\",\"name\":\"\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-06-04T02:59:08+00:00\",\"dateModified\":\"2024-05-04T11:05:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d\"}]},{\"@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\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d - 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\/\u5c1d\u8bd5\u5b89\u88c5-postgresql-\u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d","og_description":"\u6211\u5c1d\u8bd5\u5728PostgreSQL9.3\u4e0a\u5b89\u88c5tdeforpg\u3002 \u64cd\u4f5c\u7cfb\u7edf\uff1aCentOS 6.6\uff08x64\uff09 Post [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u5b89\u88c5-postgresql-\u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-06-04T02:59:08+00:00","article_modified_time":"2024-05-04T11:05:45+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/","name":"\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-06-04T02:59:08+00:00","dateModified":"2024-05-04T11:05:45+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5c1d\u8bd5\u5b89\u88c5 PostgreSQL \u514d\u8d39\u7248\u7684\u300c\u900f\u660e\u6570\u636e\u52a0\u5bc6\u300d"}]},{"@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\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%ae%89%e8%a3%85-postgresql-%e5%85%8d%e8%b4%b9%e7%89%88%e7%9a%84%e3%80%8c%e9%80%8f%e6%98%8e%e6%95%b0%e6%8d%ae%e5%8a%a0%e5%af%86%e3%80%8d%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42168","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=42168"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42168\/revisions"}],"predecessor-version":[{"id":100140,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42168\/revisions\/100140"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=42168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=42168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=42168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}