53.10. pg_ident_file_mappings
The viewpg_ident_file_mappings
provides a summary of the contents of the client user name mapping configuration file,pg_ident.conf
. A row appears in this view for each non-empty, non-comment line in the file, with annotations indicating whether the map could be applied successfully.
This view can be helpful for checking whether planned changes in the authentication configuration file will work, or for diagnosing a previous failure. Note that this view reports on thecurrent contents of the file, not on what was last loaded by the server.
By default, thepg_ident_file_mappings
view can be read only by superusers.
Table 53.10. pg_ident_file_mappings
Columns
Column Type Description |
---|
Line number of this map in |
Name of the map |
Detected user name of the client |
Requested PostgreSQL user name |
If not |
Usually, a row reflecting an incorrect entry will have values for only theline_number
anderror
fields.
SeeChapter 19 for more information about client authentication configuration.