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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: Properly escape usernames in initdb, so names with single-quotes
Дата
Msg-id E1T1fRF-0001o2-Qk@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: pgsql: Revert "commit_delay" change; just add comment that we don't hav
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Disallow extensions from owning the schema they are assigned to.