Ensure xmloption = content while restoring pg_dump output.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Mar 2019 20:51:26 +0000 (16:51 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Mar 2019 20:51:26 +0000 (16:51 -0400)
commit8ba485422933e0ae48e8c4e1686ea59cfab75111
tree6afea776a306758c01a187a2dc189c11efd223b7
parent78f84fe0f478142c490dcffd5eb46704b0131b9e
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: http://postgr.es/m/CAN-V+g-6JqUQEQZ55Q3toXEN6d5Ez5uvzL4VR+8KtvJKj31taw@mail.gmail.com
src/bin/pg_dump/pg_backup_archiver.c