pgsql: Only quote libpq connection string values that need quoting.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Only quote libpq connection string values that need quoting.
Дата
Msg-id E1UA2F1-00089G-3h@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Only quote libpq connection string values that need quoting.

There's no harm in excessive quoting per se, but it makes the strings nicer
to read. The values can get quite unwieldy, when they're first quoted within
within single-quotes when included in the connection string, and then all
the single-quotes are escaped when the connection string is passed as a
shell argument.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2953cd6d17210935098c803c52c6df5b12a725b9

Modified Files
--------------
src/bin/pg_dump/pg_dumpall.c |   37 +++++++++++++++++++++++++++++++------
1 files changed, 31 insertions(+), 6 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Add -d option to pg_dumpall, for specifying a connection string.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Fix markup typo