Skip to content
← Catalog atlas / pg_ident_file_mappings

SYSTEM VIEW · System view

pg_ident_file_mappings

The view pg_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 the current contents of the file, not on what was last loaded by the server. By default, the pg_ident_file_mappings view can be read only by superusers.

First seen PG 15Last seen PG 19Columns 7

Checked column by column against a PostgreSQL 18.6 instance · Raw measurement record ↗

Columns PostgreSQL 18

pg_ident_file_mappings
COLUMNTYPEDESCRIPTION
map_number integerDocumented as:int4 Number of this map, in priority order, if valid, otherwise NULL
file_name text Name of the file containing this map
line_number integerDocumented as:int4 Line number of this map in file_name
map_name text Name of the map
sys_name text Detected user name of the client
pg_username text Requested PostgreSQL user name
error text If not NULL, an error message indicating why this line could not be processed

Columns marked "implicit" are not included in SELECT *; some early statistics views are completed from same-version source, and the extra provenance is shown in the column description.

Column evolution matrix

Hover a cell for the column type
PresentAdded / type or attribute changeRemoved
COLUMN9.09.19.29.39.49.59.610111213141516171819
line_number
map_name
sys_name
pg_username
error
map_number
file_name

9.0 is the coverage baseline; a column already present in the baseline is not marked as added. The matrix aligns columns by name, so a rename appears as the old column removed and a new column added.

Evolution timeline

Changes between adjacent majors

PostgreSQL 16 ← 15

+ map_number+ file_name1 column description updates

PostgreSQL 15 ← 14Catalog added

+ line_number+ map_name+ sys_name+ pg_username+ error

Compare any two versions

Pick two versions to see added, removed, and retyped columns. The interactive comparison needs JavaScript; the evolution timeline reads fine without it.