]> granicus.if.org Git - postgresql/commit
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)
commit7c89f350f109a187740b6f635c97871d6cc46ac1
tree0a8b0418c196e4e4cf31e4330c279b5fd79f9f18
parent849f87a1c3346df65d0e21b2d4b1c296a61495d5
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