Обсуждение: pgsql: Only quote libpq connection string values that need quoting.

Поиск
Список
Период
Сортировка

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

От
Heikki Linnakangas
Дата:
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(-)