Ensure xmloption = content while restoring pg_dump output.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Mar 2019 20:51:25 +0000 (16:51 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Mar 2019 20:51:25 +0000 (16:51 -0400)
commitde922529fe6211acc008f69a61912e5848091b37
tree8139d5844153cfff53fe6d2ee7bde4713bf08f25
parent754ffcd42006ec6afdf2b3236251a8b277f8f9eb
Ensure xmloption = content while restoring pg_dump output.

In combination with the previous commit, this ensures that valid XML
data can always be dumped and reloaded, whether it is "document"
or "content".

Discussion: https://postgr.es/m/CAN-V+g-6JqUQEQZ55Q3toXEN6d5Ez5uvzL4VR+8KtvJKj31taw@mail.gmail.com
src/bin/pg_dump/pg_backup_archiver.c