]> 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)
commitb416c0bb622ce5d33fdbec3bbce00451132f10ec
tree440c93a17905ab2db612a4fac11f0393ec778ca4
parent7157fe80f42476db249e062b4f6eef6a3994b234
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