Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group