Skip to content

Commit 3626043

Browse files
committed
Improve comments in pg_ident.conf.sample.
1 parent 4616d57 commit 3626043

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# PostgreSQL Ident Authentication Maps
2-
# ====================================
1+
# PostgreSQL User Name Maps
2+
# =========================
33
#
44
# Refer to the PostgreSQL Administrator's Guide, chapter "Client
5-
# Authentication" for a complete description. A short synopsis
6-
# follows.
5+
# Authentication" for a complete description. A short synopsis follows.
76
#
87
# This file controls PostgreSQL username mapping. It maps
98
# external user names to their corresponding
@@ -20,10 +19,15 @@
2019
# PG-USERNAME.
2120
#
2221
# If SYSTEM-USERNAME starts with a slash (/), it will be treated as
23-
# a regular expression. Up to one capture is allowed, and this will
24-
# be replaced in PG-USERNAME for backslash-one (\1) if present.
22+
# a regular expression. Optionally this can contain a capture (a
23+
# parenthesized subexpression). The substring matching the capture
24+
# will be substituted for \1 (backslash-one) if present in PG-USERNAME.
2525
#
26-
# Multiple maps may be specified in this file and used # by pg_hba.conf.
26+
# Multiple maps may be specified in this file and used by pg_hba.conf.
27+
#
28+
# No map names are defined in the default configuration. If all system
29+
# user names and PostgreSQL user names are the same, you don't need
30+
# anything in this file.
2731
#
2832
# This file is read on server startup and when the postmaster receives
2933
# a SIGHUP signal. If you edit the file on a running system, you have
@@ -32,9 +36,5 @@
3236

3337
# Put your actual configuration here
3438
# ----------------------------------
35-
#
36-
# No map names are defined in the default configuration. If all system
37-
# user names and PostgreSQL user names are the same, you don't need
38-
# this file.
3939

4040
# MAPNAME SYSTEM-USERNAME PG-USERNAME

0 commit comments

Comments
 (0)