Thread: pgsql: Teach pg_dump to quote reloption values safely.

pgsql: Teach pg_dump to quote reloption values safely.

From
Tom Lane
Date:
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
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6a0d63d351a73e96fb0f618c92972080a8d024a5

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  160 +++++++++++++++++++++++++++++++++++----------
src/bin/pg_dump/pg_dump.h |    2 +-
2 files changed, 126 insertions(+), 36 deletions(-)