pgsql: Teach pg_dump to quote reloption values safely.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Teach pg_dump to quote reloption values safely.
Дата
Msg-id E1aFWAZ-0004Ma-7Q@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Teach pg_dump to quote reloption values safely.

Commit c7e27becd2e6eb93 fixed this on the backend side, but we neglected
the fact that several code paths in pg_dump were printing reloptions
values that had not gotten massaged by ruleutils.  Apply essentially the
same quoting logic in those places, too.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b416c0bb622ce5d33fdbec3bbce00451132f10ec

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  169 ++++++++++++++++++++++++++++++++++-----------
src/bin/pg_dump/pg_dump.h |    4 +-
2 files changed, 132 insertions(+), 41 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Teach pg_dump to quote reloption values safely.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix treatment of *lpNumberOfBytesRecvd == 0: that's a completion