mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
Properly escape usernames in initdb, so names with single-quotes are
supported. Also add assert to catch future breakage. Also, improve documentation that "double"-quotes must be used in pg_hba.conf (not single quotes).
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
Records cannot be continued across lines.
|
||||
A record is made
|
||||
up of a number of fields which are separated by spaces and/or tabs.
|
||||
Fields can contain white space if the field value is quoted.
|
||||
Fields can contain white space if the field value is double-quoted.
|
||||
Quoting one of the keywords in a database, user, or address field (e.g.,
|
||||
<literal>all</> or <literal>replication</>) makes the word lose its special
|
||||
character, and just match a database, user, or host with that name.
|
||||
|
Reference in New Issue
Block a user