Teach pg_dump to quote reloption values safely.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b416c0bb622ce5d33fdbec3bbce00451132f10ec
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-01-03T00:04:45Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/bin/pg_dump/pg_dump.c modified +130 −39
src/bin/pg_dump/pg_dump.h modified +2 −2