]> 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)
commitaab4b73bdd52263c7c415cd1e0a246dbdeb7c667
treecffaf0de6a723fe3c2b85d3096a8118036fe4135
parent1cd38408ba4e851eeccff6ffbba049a7a916c4e1
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