ident_file

A server parameter specifying the location of pg_ident.conf

ident_file is a configuration parameter specifying the location of the main pg_ident.conf file.

ident_file was added in PostgreSQL 8.0.

Usage

The default pg_ident.conf file is placed by initdb in the generated data directory and unless explictly set, ident_file points to this file.

If the file pointed to by ident_file does not exist or cannot be read, a LOG message will be emitted at startup.

Default value

The default value for ident_file is: data_directory/pg_ident.conf.

Change history

Examples

Log output when ident_file points to a non-existent file:

[2022-08-22 09:09:16 UTC]    LOG:  00000: listening on Unix socket "/tmp/.s.PGSQL.5432"
[2022-08-22 09:09:16 UTC]    LOG:  58P01: could not open usermap file "/var/lib/pgsql/ident.conf": No such file or directory
[2022-08-22 09:09:16 UTC]    LOG:  00000: database system was shut down at 2022-08-22 09:09:16 UTC
[2022-08-22 09:09:16 UTC]    LOG:  00000: database system is ready to accept connections

Categories

Configuration, GUC configuration item

See also

pg_ident.conf, config_file, hba_file