Properly escape usernames in initdb, so names with single-quotes are

Bruce Momjian <bruce@momjian.us>

Commit: a973296598f2d1eec48138a2ce4f3e63410d9ed0
Author: Bruce Momjian <bruce@momjian.us>
Date: 2012-08-15T15:23:15Z
Releases: 9.3.0
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).

Files

PathChange+/−
doc/src/sgml/client-auth.sgml modified +1 −1
src/backend/parser/scansup.c modified +2 −0
src/bin/initdb/initdb.c modified +3 −4