{"Entry":{"collection":"guc","key":"ident_file","name":"ident_file","aliases":[],"metadata":{"baseline":false,"boot_human":"Not specified","boot_val":null,"category":"File Locations","category_zh":"","changed_in":[],"changes":[{"documentation_changed":false,"fields":{},"from":"7.4","status":"added","to":"8.0"},{"documentation_changed":true,"fields":{},"from":"8.1","status":"changed","to":"8.2"},{"documentation_changed":true,"fields":{},"from":"8.3","status":"changed","to":"8.4"},{"documentation_changed":true,"fields":{},"from":"8.4","status":"changed","to":"9.0"},{"documentation_changed":true,"fields":{},"from":"9.1","status":"changed","to":"9.2"},{"documentation_changed":true,"fields":{},"from":"9.5","status":"changed","to":"9.6"},{"documentation_changed":true,"fields":{},"from":"13","status":"changed","to":"14"},{"documentation_changed":true,"fields":{},"from":"16","status":"changed","to":"17"}],"content_hash":"19f2bed501a42dcab5ce84912bddfe52121750ed66cc54126ba58e887d02949c","context":"","default_changed_in":[],"default_history":[{"from":"9.0","to":"19","value":"Not specified"}],"derived_content_hash":"1f5d9e77e8f10d2e4644785e85d66c443475728957b59cc5e7bd0af978e2a9b4","editorial":{"advice":{"olap":"Follow the OLTP rule, and for separate mounts also verify boot ordering, backup coverage, and path consistency on failover nodes.","oltp":"ident_file is deployment topology, not workload tuning. Use an absolute path, least privilege, and atomic configuration rollout; verify access as the postgres service account before restart/reload.","small":"The default co-located layout is simplest. Split paths only for a concrete backup, packaging, or permission-isolation benefit."},"mechanism":["Sets the server's \"ident\" configuration file. The value is fixed when the server starts, so changing it requires a restart.","This path selects pg_ident.conf, whose maps translate authenticated operating-system or certificate names to database roles. The path is fixed at startup; contents are re-read on reload and only matter to authentication methods that name a map.","Monitor and change ident_file together with allow_alter_system, config_file, data_directory. Validate on the relevant server role and real workload, then use its postmaster context to choose session change, reload, or restart; a historical boot default is not the current effective value."],"pitfalls":["Missing directory traversal, read, or write permission for the service account.","Confusing restart requirements for a path with reload behavior of the selected file contents.","Omitting the path on a failover node or from backup inventory.","Using a relative path that depends on an unstable working directory."],"references":[{"title":"PostgreSQL 19 Beta 4: ident_file","url":"https://www.postgresql.org/docs/19/runtime-config-file-locations.html#GUC-IDENT-FILE"},{"title":"PostgreSQL 19 release notes","url":"https://www.postgresql.org/docs/19/release-19.html"}],"related":["allow_alter_system","config_file","data_directory","hba_file","external_pid_file","extension_destdir"],"summary":"ident_file — Sets the server's \"ident\" configuration file. Observed in PG9.0–19 Beta 4; its last measured boot default is not set in PG19 Beta 4, with postmaster context. This is a beta-snapshot fact and can change before PostgreSQL 19 GA."},"enumvals":[],"first_version":"8.0","group":"File Locations","group_slug":"file-locations","imported_at":"2026-09-27T17:57:31.371072+08:00","intro_commit":{},"key":"ident_file","last_version":"20","max_val":"","min_val":"","name":"ident_file","position":172,"present_in":["8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"english-manuals:c08acfee02379ea8acf96722cefcb3d73c473a5c52212c0f37c03fb74a94a451","receipt_sha256":"8f7b7402a597edbe11ef80e9cba699e1810fadcd2acc3afabea75047b29b2e8b","repair":"wiki-repair-20261023"},"short_desc":"Specifies the configuration file for user name mapping (customarily called pg_ident.conf).","short_desc_zh":"","source_rev":"wiki-repair-20261023:db3de9002629cad0adeb55a475e8365b4c8d5b189b814779a0a93fe01431b80f","unit":"","vartype":"string"}},"Definition":{"Collection":"guc","Key":"ident_file","SourceDatabase":"center","Version":"18","SourceTable":"guc","SourceKey":"ident_file","SourceRevision":"wiki-repair-20261023:db3de9002629cad0adeb55a475e8365b4c8d5b189b814779a0a93fe01431b80f","Facts":{"boot_val":null,"category":"File Locations","context":"postmaster","description":"Specifies the configuration file for user name mapping (customarily called pg_ident.conf). This parameter can only be set at server start. See also Section 20.2.","description_zh":"指定用于用户名称映射的配置文件（通常叫 pg_ident.conf）。这个参数只能在服务器启动的时候设置。另见第 20.2 节。","description_zh_html":"\u003cp\u003e\n         指定用于用户名称映射的配置文件（通常叫 \u003ccode class=\"filename\"\u003epg_ident.conf\u003c/code\u003e）。这个参数只能在服务器启动的时候设置。另见\u003ca class=\"xref\" href=\"/zh/docs/18/auth-username-maps.html\" title=\"20.2. 用户名映射\"\u003e第 20.2 节\u003c/a\u003e。\n       \u003c/p\u003e","doc":{"anchor":"GUC-IDENT-FILE","file":"runtime-config-file-locations.html","lang":"en","sha256":"d32b4a6043ad0ec1a0b4d476f80aa279be0a3491176860e0d2f2439eddf612ad","slug":"18"},"documented":true,"enumvals":null,"extra_desc":null,"lang":"en","max_val":null,"metadata_version":"18","min_val":null,"name":"ident_file","short_desc":"Sets the server's \"ident\" configuration file.","source":"pg-settings-source-snapshot","translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/runtime-config-file-locations.html","sha256":"7b48da92800e911f199e0fad1ebdd75d67d4020daa084ee833257a688c248fab"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"unit":null,"vartype":"string","zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"GUC-IDENT-FILE","file":"runtime-config-file-locations.html","lang":"en","sha256":"d32b4a6043ad0ec1a0b4d476f80aa279be0a3491176860e0d2f2439eddf612ad","slug":"18"}},"MeasuredEvidence":{"metadata_version":"18"}},"Text":{"Collection":"guc","Key":"ident_file","SourceDatabase":"center","Version":"18","Locale":"en","Title":"ident_file","Summary":"Specifies the configuration file for user name mapping (customarily called pg_ident.conf). This parameter can only be set at server start. See also Section 20.2.","BodyHTML":"\u003cp\u003eSpecifies the configuration file for user name mapping (customarily called pg_ident.conf). This parameter can only be set at server start. See also Section 20.2.\u003c/p\u003e","SourceRevision":"wiki-repair-20261023:db3de9002629cad0adeb55a475e8365b4c8d5b189b814779a0a93fe01431b80f","ContentHash":"a80c9c73acd98490f3d9d9a3e5612161adac115c7e1b8de85ed40bd9a34ea9d3","Payload":{"description":"Specifies the configuration file for user name mapping (customarily called pg_ident.conf). This parameter can only be set at server start. See also Section 20.2."}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
