]> 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)
commitb01828e97df66b7ae5e1f8a583e2dc509e13a365
tree2522b1eee363850285ec23607395df71de0bbeff
parent701303590053e100aa3a4ea87ac498d7fe00243f
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