{"kind": "auth", "major": "18", "item": {"slug": "trust", "name": "trust", "name_zh": "", "category": "\u8eab\u4efd\u8ba4\u8bc1\u4e0e\u8bbf\u95ee\u63a7\u5236", "summary": "\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002", "aliases": [], "content_hash": "60e1a253d96c2e9d53f370c1bd33bfd7c8dbfec272d4d338a7634354ca78238f", "versions": {"10": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "historical", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "source_sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "catalog_fingerprint": "691be281b476dde4374d7f805b2bacc2e75bdef40f1e9d3d42e91f97fe95cfd0"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, {"url": "https://pg.center/docs/10/auth-methods.html#AUTH-TRUST", "path": "auth-methods.html", "label": "PostgreSQL 10 English manual", "sha256": "856d36a3fdfe8c45a25832e49bd07e9b7480f2ff9a33e58ac7c392630149bc34", "language": "en", "original_url": "/docs/10/auth-methods.html#AUTH-TRUST"}, {"url": "https://pg.center/docs/10/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 10 English manual", "sha256": "04fed609a50e8fd3013ffebb83039c544d39b6c73a6c2b2e23cd7864a70b42da", "language": "en", "original_url": "/docs/10/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.3.1 \u8282\u3002"], "manual_html": "<div class=\"sect2\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h3 class=\"title\" lang=\"zh\"><span class=\"sect2\"><a href=\"/docs/10/auth-methods.html#AUTH-TRUST\">20.3.1. \u4fe1\u4efb\u8ba4\u8bc1</a></span></h3>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/10/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/10/auth-methods.html#AUTH-TRUST", "localization": {"status": "complete", "sources": [{"url": "/docs/10/auth-methods.html", "method": "same-major semantic node", "sha256": "128b4f29cf06d6bde5b9e357daacb6d538044ee392e4aece0e31c90b0a37b647", "language": "zh", "matched_nodes": ["#AUTH-METHODS/div[1]/dl[0]/dt[0]", "#AUTH-METHODS/div[3]/p[1]", "#AUTH-METHODS/div[3]/p[2]"]}], "language": "zh", "original_text": {"/versions/10/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.3.1 for details.", "/versions/10/facts/0/label": "Method", "/versions/10/facts/1/label": "Configuration", "/versions/10/facts/2/label": "Inventory", "/versions/10/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "1e0949651bbdada0f1d733b058ac0bc8af8c5f1cddea00d38ac3ad35ec6195bb"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "11": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "historical", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "source_sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "catalog_fingerprint": "8f21f4444b7f68923f4762af0eb7937fa2907026e91249483e79050de012c901"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, {"url": "https://pg.center/docs/11/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 11 English manual", "sha256": "255fe3640ed5b16b5a7becfde9cdcba5f9eba8224e1cd82b526eff223100c2ac", "language": "en", "original_url": "/docs/11/auth-trust.html"}, {"url": "https://pg.center/docs/11/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 11 English manual", "sha256": "5477c61a002171f5b4c462052d91231c405f39d89d825faf71e52fbae358eef7", "language": "en", "original_url": "/docs/11/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/11/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/11/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/11/auth-trust.html", "method": "same-major semantic node", "sha256": "0a6bd8dddf0f2ade95f6119e1af36db229f4883468347e87dee05d2c9b4c50e9", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/versions/11/facts/0/label": "Method", "/versions/11/facts/1/label": "Configuration", "/versions/11/facts/2/label": "Inventory", "/versions/11/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "91b00f807e2f5c53eb9672582f3fe83255ec279f0ab533af78ae591f9439c2ae"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "12": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "historical", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "source_sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "catalog_fingerprint": "9f857f4ee4875f9c7de6bfc9df4b757dec8b3a0bb88eadb519c7bd267bd56149"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, {"url": "https://pg.center/docs/12/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 12 English manual", "sha256": "d4e9df6ed4a436bf78764fb8b5ab96d1884dfb336d7e29e43bbd6e68ea69c6a6", "language": "en", "original_url": "/docs/12/auth-trust.html"}, {"url": "https://pg.center/docs/12/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 12 English manual", "sha256": "07e8cddcb38076c86dab95b72c4380a7a325f22401b5b7f9af5dd4931876f2cb", "language": "en", "original_url": "/docs/12/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/12/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/12/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/12/auth-trust.html", "method": "same-major semantic node", "sha256": "765f61454f782d753943c1639b1040f96af8f32373aeea9775463f524be61a6b", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/12/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/versions/12/facts/0/label": "Method", "/versions/12/facts/1/label": "Configuration", "/versions/12/facts/2/label": "Inventory", "/versions/12/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "3147e32ee722473ea42ec1b4e0c4b1099e358f50ab0098058e122b0321bab73a"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "13": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "historical", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "source_sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "catalog_fingerprint": "c7015c845255c9d721c547c8ab9ef37825d332588c9691d982e6906b7d571002"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, {"url": "https://pg.center/docs/13/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 13 English manual", "sha256": "823340fbbeb1817a54ef6ea4ec39eb2a7b8771520375d96f192f2f48d6eee057", "language": "en", "original_url": "/docs/13/auth-trust.html"}, {"url": "https://pg.center/docs/13/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 13 English manual", "sha256": "3cc6ce851945cba450e6b26ecf9cae1efd3c03fb7b55e17876f4d9ea418a7c2e", "language": "en", "original_url": "/docs/13/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/13/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/13/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/13/auth-trust.html", "method": "same-major semantic node", "sha256": "28427c5920aba9d0ba0a63b7d0c9e97ef785bacb33a58b975463be43d6963ced", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/versions/13/facts/0/label": "Method", "/versions/13/facts/1/label": "Configuration", "/versions/13/facts/2/label": "Inventory", "/versions/13/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "270ac5152c19cefe1d7f7f3ffc9c56e5e9e2f51b1f8706d0c79c585a99867ceb"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "14": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "source_sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "catalog_fingerprint": "b272e6a82e4c46efda81c3a6a4cdf7de6a83dfff7f02f226a392fbe9acdd3adb"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, {"url": "https://pg.center/docs/14/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 14 English manual", "sha256": "c519a8f635cc7ab511eea09e1caec97ecaa587f851cca013246fd7bac9032957", "language": "en", "original_url": "/docs/14/auth-trust.html"}, {"url": "https://pg.center/docs/14/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 14 English manual", "sha256": "c9a75f04fd4a1069ea261ba061578a75c47a4b7e0bbf88761502fd4c19ccbc3f", "language": "en", "original_url": "/docs/14/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 21.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">21.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/14/runtime-config-connection.html\" title=\"20.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a020.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/14/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/14/auth-trust.html", "method": "same-major semantic node", "sha256": "5171ad0b69510432b5e81004e8ecf11ec866f4e6ea3703f85c4c0e1bcb068156", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 21.4 for details.", "/versions/14/facts/0/label": "Method", "/versions/14/facts/1/label": "Configuration", "/versions/14/facts/2/label": "Inventory", "/versions/14/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "c201a3e65817cd00fb4f69f9d57b7c2b34d249ccf708c017b959c6451f359444"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "15": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "source_sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "catalog_fingerprint": "fefe3c425147a86defada190c9b0663cfe02caa1724f5dede93e46457572252d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, {"url": "https://pg.center/docs/15/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 15 English manual", "sha256": "fae57f28dbf6e997b71f55ae587f6a3cc185b2739d9324d57198b5da9be8f29f", "language": "en", "original_url": "/docs/15/auth-trust.html"}, {"url": "https://pg.center/docs/15/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 15 English manual", "sha256": "0470cd3eeb82cbc32d4b8b79e29f4427bdfd01f5bb15e6d9b7cee2f6dd2bba44", "language": "en", "original_url": "/docs/15/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 21.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">21.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/15/runtime-config-connection.html\" title=\"20.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a020.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/15/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/15/auth-trust.html", "method": "same-major semantic node", "sha256": "fb43f4a92684fd8c353b422acda2c0083547f2dc569333a199c2ad61f4f2bb90", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 21.4 for details.", "/versions/15/facts/0/label": "Method", "/versions/15/facts/1/label": "Configuration", "/versions/15/facts/2/label": "Inventory", "/versions/15/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "2e2e681c8b96debd873b1e6cea1726c66ee4a8847addfaabf048b063c4753f43"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "16": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "source_sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "catalog_fingerprint": "fa133458dc8f52e15083b4f59b7a582e2e378b608d3ac5c53054df458a374e23"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, {"url": "https://pg.center/docs/16/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 16 English manual", "sha256": "5b91f3453aa08ec72643e007a2aa2ab9a9c3276175a80f6ec62ec72850f2ea1f", "language": "en", "original_url": "/docs/16/auth-trust.html"}, {"url": "https://pg.center/docs/16/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 16 English manual", "sha256": "ccc5146375a184646d5992edbc693e12c0de4431a35141d6b56c8dd6b3c52132", "language": "en", "original_url": "/docs/16/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 21.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">21.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/16/runtime-config-connection.html\" title=\"20.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a020.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/16/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/16/auth-trust.html", "method": "same-major semantic node", "sha256": "0931b688b5f2c3444783556dccd4a7327a5d5570773fa41cfd1138309a719b1f", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 21.4 for details.", "/versions/16/facts/0/label": "Method", "/versions/16/facts/1/label": "Configuration", "/versions/16/facts/2/label": "Inventory", "/versions/16/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "857f0f01885e775687db3daa5c5fc51bb78291b13daa7adb9c026b4ab309eeda"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "17": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "source_sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "catalog_fingerprint": "4bbe3ac77becd618478f66aec420a533e9017be356c5c1d51a4b17f0fd497c07"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, {"url": "https://pg.center/docs/17/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 17 English manual", "sha256": "4477a685fc74033e7cd25616416e68fd7e702471d59d121835adcedb69acf6cf", "language": "en", "original_url": "/docs/17/auth-trust.html"}, {"url": "https://pg.center/docs/17/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 17 English manual", "sha256": "00c7a7c25d46aa1b2f24cd744cd4990ca4218cfafed2a4cab8c1dc1092090bba", "language": "en", "original_url": "/docs/17/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/17/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/17/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/17/auth-trust.html", "method": "same-major semantic node", "sha256": "cf78a062d9f572fcaedfed9642ccc8545282ab14256cc1e4d8d012cc4fd84ceb", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/versions/17/facts/0/label": "Method", "/versions/17/facts/1/label": "Configuration", "/versions/17/facts/2/label": "Inventory", "/versions/17/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "455b1a2f8d8a99a7a56b7a132a6b847ac46f1933683c3073dec0775ace39c4cb"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "18": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "catalog_fingerprint": "65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "https://pg.center/docs/18/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 18 English manual", "sha256": "e4c50d6f88b13feb2004634788c61e0f797ff2d5b1ab6bb86de30229cef38a87", "language": "en", "original_url": "/docs/18/auth-trust.html"}, {"url": "https://pg.center/docs/18/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 18 English manual", "sha256": "6340d4abea2e0a3482afc31bcd1599a0fa10dc28a6f1e05d79ba831e2dd0b4c9", "language": "en", "original_url": "/docs/18/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/18/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/18/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/18/auth-trust.html", "method": "same-major semantic node", "sha256": "0a1bfdc5271a1b7381047de21b105850e29ab0afa545fc653d2a744b299ac927", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/versions/18/facts/0/label": "Method", "/versions/18/facts/1/label": "Configuration", "/versions/18/facts/2/label": "Inventory", "/versions/18/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5caf4edf86e06de543ae6825d83bb643bb263deae712583119ab38da6c192c30"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "19": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86", "source_sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86", "catalog_fingerprint": "62fbf1a3689dbe8bf7e6b3372cfe6fbf867581427b3858a94c8419b77a4d2d1d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, {"url": "https://pg.center/docs/19/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 19 English manual", "sha256": "89448a10c298d0d25937c099c61e896508cc0cbf0eb6c563cfcbcc9610516d87", "language": "en", "original_url": "/docs/19/auth-trust.html"}, {"url": "https://pg.center/docs/19/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 19 English manual", "sha256": "d05e9155d5388148c2c680ff208b62c6b3b0b1c30f302ada5ab4befec36c19b7", "language": "en", "original_url": "/docs/19/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/19/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/19/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/19/auth-trust.html", "method": "same-major semantic node", "sha256": "0b07652f9bbfaace9aa187627c113157d22dc06b74a4461e1aba7e3268642da8", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/versions/19/facts/0/label": "Method", "/versions/19/facts/1/label": "Configuration", "/versions/19/facts/2/label": "Inventory", "/versions/19/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "e5d05fb13b5db6f01c68f65bc5f9d173221ae9fe8e912fb5da67ae0cb7c2d822"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "20": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41", "source_sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41", "catalog_fingerprint": "398fbb9f262264053c02fbf79f88be0a6770c1473faa6ecd5931d6ec41b8258b", "source_snapshot_utc": "26-Sep-2026 20:22"}, "sources": [{"url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, {"url": "https://pg.center/docs/devel/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 20 English manual", "sha256": "5c288997397f92bf4bc0d7cf49fb034b3e2f3ea2a0da7f398888ffab14e4f7c2", "language": "en", "original_url": "/docs/devel/auth-trust.html"}, {"url": "https://pg.center/docs/devel/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 20 English manual", "sha256": "cf2069461da3eec62f6fb4e3df8e46fd69ff4b3a2ad059eec355cee256d7996e", "language": "en", "original_url": "/docs/devel/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/devel/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/devel/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/devel/auth-trust.html", "method": "same-major semantic node", "sha256": "b09a00b45bf7472e83ba6bf99fee754186b6adbfd786d2b77cb9063cb9636835", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/summary": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/category": "Authentication and access control", "/versions/20/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/versions/20/facts/0/label": "Method", "/versions/20/facts/1/label": "Configuration", "/versions/20/facts/2/label": "Inventory", "/versions/20/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "975ead2fab2c6bd06df405533b711cba99afa7b3273c4b19aba64f89b3928f0a"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}}}, "snapshot": {"facts": [{"label": "\u65b9\u6cd5", "value": "trust"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "catalog_fingerprint": "65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "https://pg.center/docs/18/auth-trust.html", "path": "auth-trust.html", "label": "PostgreSQL 18 English manual", "sha256": "e4c50d6f88b13feb2004634788c61e0f797ff2d5b1ab6bb86de30229cef38a87", "language": "en", "original_url": "/docs/18/auth-trust.html"}, {"url": "https://pg.center/docs/18/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 18 English manual", "sha256": "6340d4abea2e0a3482afc31bcd1599a0fa10dc28a6f1e05d79ba831e2dd0b4c9", "language": "en", "original_url": "/docs/18/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "trust", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u65e0\u6761\u4ef6\u5141\u8bb8\u8fde\u63a5\u3002\u4efb\u4f55\u80fd\u8fde\u63a5\u5230 PostgreSQL \u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f PostgreSQL \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u65e0\u9700\u5bc6\u7801\u6216\u4efb\u4f55\u5176\u4ed6\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.4 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-TRUST\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.4.\u00a0\u4fe1\u4efb\u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u5f53<code class=\"literal\">trust</code>\u8ba4\u8bc1\u88ab\u6307\u5b9a\u65f6\uff0c<span class=\"productname\">PostgreSQL</span>\u5047\u8bbe\u4efb\u4f55\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684\u4eba\u90fd\u88ab\u6388\u6743\u4f7f\u7528\u4ed6\u4eec\u6307\u5b9a\u7684\u4efb\u4f55\u6570\u636e\u5e93\u7528\u6237\u540d\uff08\u5373\u4f7f\u662f\u8d85\u7ea7\u7528\u6237\uff09\u8bbf\u95ee\u6570\u636e\u5e93\u3002\u5f53\u7136\uff0c\u5728<code class=\"literal\">database</code>\u548c <code class=\"literal\">user</code>\u5217\u4e2d\u8bbe\u7f6e\u7684\u9650\u5236\u4ecd\u7136\u9002\u7528\u3002\u53ea\u6709\u5f53\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5bf9\u8fdb\u5165\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6709\u8db3\u591f\u4fdd\u62a4\u65f6\uff0c\u624d\u5e94\u8be5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002</p>\n<p lang=\"zh\"><code class=\"literal\">trust</code>\u8ba4\u8bc1\u5bf9\u4e8e\u5355\u7528\u6237\u5de5\u4f5c\u7ad9\u7684\u672c\u5730\u8fde\u63a5\u662f\u975e\u5e38\u5408\u9002\u548c\u65b9\u4fbf\u7684\u3002\u901a\u5e38\u5b83\u672c\u8eab<span class=\"emphasis\"><em>\u4e0d</em></span>\u9002\u7528\u4e8e\u4e00\u53f0\u591a\u7528\u6237\u673a\u5668\u3002\u4e0d\u8fc7\uff0c\u53ea\u8981\u4f60\u5229\u7528\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u9650\u5236\u4e86\u5bf9\u670d\u52a1\u5668\u7684 Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u591a\u7528\u6237\u673a\u5668\u4e0a\uff0c\u4f60\u4e5f\u53ef\u80fd\u53ef\u4ee5\u4f7f\u7528<code class=\"literal\">trust</code>\u3002\u8981\u505a\u8fd9\u4e9b\u9650\u5236\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e<a class=\"xref\" href=\"/docs/18/runtime-config-connection.html\" title=\"19.3.\u00a0\u8fde\u63a5\u548c\u8ba4\u8bc1\">\u7b2c\u00a019.3\u00a0\u8282</a>\u4e2d\u63cf\u8ff0\u7684<code class=\"varname\">unix_socket_permissions</code>\u914d\u7f6e\u53c2\u6570\uff08\u53ef\u80fd\u8fd8\u6709<code class=\"varname\">unix_socket_group</code>\uff09\u3002\u6216\u8005\u4f60\u53ef\u4ee5\u8bbe\u7f6e<code class=\"varname\">unix_socket_directories</code>\u914d\u7f6e\u53c2\u6570\u6765\u628a Unix \u57df\u5957\u63a5\u5b57\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u7ecf\u8fc7\u6070\u5f53\u9650\u5236\u7684\u76ee\u5f55\u4e2d\u3002</p>\n<p lang=\"zh\">\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u4ec5\u5bf9 Unix \u5957\u63a5\u5b57\u8fde\u63a5\u6709\u6548\uff0c\u672c\u5730 TCP/IP \u8fde\u63a5\u4e0d\u53d7\u5176\u9650\u5236\u3002\u56e0\u6b64\uff0c\u5982\u679c\u8981\u4f9d\u9760\u6587\u4ef6\u7cfb\u7edf\u6743\u9650\u63d0\u4f9b\u672c\u5730\u5b89\u5168\u6027\uff0c\u5e94\u4ece pg_hba.conf \u4e2d\u5220\u9664 host ... 127.0.0.1 ... \u89c4\u5219\uff0c\u6216\u5c06\u5176\u6539\u4e3a\u975e trust \u8ba4\u8bc1\u65b9\u5f0f\u3002</p>\n<p lang=\"zh\">\u53ea\u6709\u5f53\u4f60\u4fe1\u4efb pg_hba.conf \u4e2d trust \u89c4\u5219\u6240\u5141\u8bb8\u7684\u6bcf\u53f0\u4e3b\u673a\u4e0a\u7684\u6bcf\u4e2a\u7528\u6237\u65f6\uff0ctrust \u8ba4\u8bc1\u624d\u9002\u5408 TCP/IP \u8fde\u63a5\u3002\u9664 localhost\uff08127.0.0.1\uff09\u4ee5\u5916\uff0c\u5bf9\u5176\u4ed6 TCP/IP \u8fde\u63a5\u4f7f\u7528 trust \u901a\u5e38\u90fd\u4e0d\u5408\u7406\u3002</p>\n</div>", "manual_path": "/docs/18/auth-trust.html", "localization": {"status": "complete", "sources": [{"url": "/docs/18/auth-trust.html", "method": "same-major semantic node", "sha256": "0a1bfdc5271a1b7381047de21b105850e29ab0afa545fc653d2a744b299ac927", "language": "zh", "matched_nodes": ["#AUTH-TRUST/div[0]", "#AUTH-TRUST/p[1]", "#AUTH-TRUST/p[2]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 20.4 for details.", "/versions/18/facts/0/label": "Method", "/versions/18/facts/1/label": "Configuration", "/versions/18/facts/2/label": "Inventory", "/versions/18/facts/2/value": "User-visible source authentication method"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5caf4edf86e06de543ae6825d83bb643bb263deae712583119ab38da6c192c30"}, "comparison_data": {"method": "trust", "documented_option_names": []}, "comparison_hash": "210f7621166817effd2ba02b45ddaf7562e7926b1a9ef4c7e4145fb9c662d19e", "manual_language": "zh"}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}