]> granicus.if.org Git - postgresql/commit
Properly escape usernames in initdb, so names with single-quotes are
authorBruce Momjian <bruce@momjian.us>
Wed, 15 Aug 2012 15:23:04 +0000 (11:23 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 15 Aug 2012 15:23:15 +0000 (11:23 -0400)
commita973296598f2d1eec48138a2ce4f3e63410d9ed0
tree0b76eb29da9181bdfcc4189649bc0faaed4eb6bb
parenteb919e8fde4333d4a627d349a1460b07fc52dd3b
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).
doc/src/sgml/client-auth.sgml
src/backend/parser/scansup.c
src/bin/initdb/initdb.c