]> 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)
commite4959fb5cb15f486dcc3489c3e6ddfa37b00c551
treec358c9b8192c58a04b88e30c5918dcdcd4679db4
parentaa078a9f45099e6a385445a4350ed2af94154070
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