Doc: clarify description of regexp fields in pg_ident.conf.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jul 2025 22:53:00 +0000 (18:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jul 2025 22:53:00 +0000 (18:53 -0400)
commit2132ced7dc976bd83addf7d62acde5e2540342d7
tree226df16dbf7c6fa270a95085b9933016abd977c5
parentf32e456414601a6cbf48eb33560f5074fa0a2d4b
Doc: clarify description of regexp fields in pg_ident.conf.

The grammar was a little shaky and confusing here, so word-smith it
a bit.  Also, adjust the comments in pg_ident.conf.sample to use the
same terminology as the SGML docs, in particular "DATABASE-USERNAME"
not "PG-USERNAME".

Back-patch appropriate subsets.  I did not risk changing
pg_ident.conf.sample in released branches, but it still seems OK
to change it in v18.

Reported-by: Alexey Shishkin <alexey.shishkin@enterprisedb.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: David G. Johnston <david.g.johnston@gmail.com>
Discussion: https://postgr.es/m/175206279327.3157504.12519088928605422253@wrigleys.postgresql.org
Backpatch-through: 13
doc/src/sgml/client-auth.sgml