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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Properly escape usernames in initdb, so names with single-quotes
Date: 2012-08-15 15:23:17
Message-ID: E1T1fRF-0001o2-Qk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-08-15 15:28:15 pgsql: Disallow extensions from owning the schema they are assigned to.
Previous Message Tom Lane 2012-08-15 13:39:38 Re: [COMMITTERS] pgsql: Revert "commit_delay" change; just add comment that we don't hav