pgsql: Properly escape usernames in initdb, so names with single-quotes - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Properly escape usernames in initdb, so names with single-quotes
Date
Msg-id E1T1fRF-0001o2-Qk@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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).

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a973296598f2d1eec48138a2ce4f3e63410d9ed0

Modified Files
--------------
doc/src/sgml/client-auth.sgml |    2 +-
src/backend/parser/scansup.c  |    2 ++
src/bin/initdb/initdb.c       |    7 +++----
3 files changed, 6 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Revert "commit_delay" change; just add comment that we don't hav
Next
From: Tom Lane
Date:
Subject: pgsql: Disallow extensions from owning the schema they are assigned to.