↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

GUC Parameters / File Locations

Specifies the configuration file for user name mapping (customarily called pg_ident.conf).

Reading PG 18current·documented in 23 of 24 versions, 8.0 to 20

Type
string
Context
postmaster
Measured default
Not specified
Unit
—
Metadata snapshot
18

Definition PG 18 manual

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.

Measured default history
Version intervalDefault
9.0 – 19Not specified
Analysis & operational context

Authored guidance from the GUC source snapshot; the version-specific manual above is the definition reference. View source

How it works

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.

Operational considerations

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.

Workload guidance

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.

Version history 8
  1. 16 → 17 changed
  2. 13 → 14 changed
  3. 9.5 → 9.6 changed
  4. 9.1 → 9.2 changed
  5. 8.4 → 9.0 changed
  6. 8.3 → 8.4 changed
  7. 8.1 → 8.2 changed
  8. 7.4 → 8.0 added

Related entries

Further reading

Definition snapshot: english-manuals:c08acfee02379ea8acf96722cef… · English manual source