Skip to content

Commit 259f60e

Browse files
committed
Mention in the docs that if special keywords like "sameuser" and
"replication" are quoted in pg_hba.conf, they lose their special meaning.
1 parent 991bfe1 commit 259f60e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/src/sgml/client-auth.sgml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.134 2010/03/17 17:12:31 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.135 2010/03/31 20:18:10 heikki Exp $ -->
22

33
<chapter id="client-authentication">
44
<title>Client Authentication</title>
@@ -77,8 +77,11 @@
7777
a set of records, one per line. Blank lines are ignored, as is any
7878
text after the <literal>#</literal> comment character. A record is made
7979
up of a number of fields which are separated by spaces and/or tabs.
80-
Fields can contain white space if the field value is quoted. Records
81-
cannot be continued across lines.
80+
Fields can contain white space if the field value is quoted.
81+
Quoting one of the keywords in database or username field (e.g "all"
82+
or "replication") makes the name lose its special character, and just
83+
match a database or username with that name. Records cannot be
84+
continued across lines.
8285
</para>
8386

8487
<para>

0 commit comments

Comments
 (0)