]> begriffs open source - ai-pg/blob - full-docs/txt/view-pg-ident-file-mappings.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / view-pg-ident-file-mappings.txt
1
2 53.11. pg_ident_file_mappings #
3
4    The view pg_ident_file_mappings provides a summary of the contents of
5    the client user name mapping configuration file, pg_ident.conf. A row
6    appears in this view for each non-empty, non-comment line in the file,
7    with annotations indicating whether the map could be applied
8    successfully.
9
10    This view can be helpful for checking whether planned changes in the
11    authentication configuration file will work, or for diagnosing a
12    previous failure. Note that this view reports on the current contents
13    of the file, not on what was last loaded by the server.
14
15    By default, the pg_ident_file_mappings view can be read only by
16    superusers.
17
18    Table 53.11. pg_ident_file_mappings Columns
19
20    Column Type
21
22    Description
23
24    map_number int4
25
26    Number of this map, in priority order, if valid, otherwise NULL
27
28    file_name text
29
30    Name of the file containing this map
31
32    line_number int4
33
34    Line number of this map in file_name
35
36    map_name text
37
38    Name of the map
39
40    sys_name text
41
42    Detected user name of the client
43
44    pg_username text
45
46    Requested PostgreSQL user name
47
48    error text
49
50    If not NULL, an error message indicating why this line could not be
51    processed
52
53    Usually, a row reflecting an incorrect entry will have values for only
54    the line_number and error fields.
55
56    See Chapter 20 for more information about client authentication
57    configuration.