]> granicus.if.org Git - postgresql/commit
Teach pg_dump to quote reloption values safely.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Jan 2016 00:04:45 +0000 (19:04 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Jan 2016 00:04:45 +0000 (19:04 -0500)
commit6a0d63d351a73e96fb0f618c92972080a8d024a5
treee0ba5fd667281021dba09dbb04c02a6d26f2a498
parent2917155d5805f16584e323b8764fd01b4023361a
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.
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h