]> granicus.if.org Git - postgresql/commit
Fix pg_restore to accept POSIX-conformant tar files.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Sep 2012 19:42:26 +0000 (15:42 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Sep 2012 19:42:26 +0000 (15:42 -0400)
commite067a771f85f4e08b8d9a038cd34629c8d51dbfe
tree8135db4a4830138a92fe46150e321ce187f1179b
parent5ced7dc16d8baf37cc0d9ee3cb8f2df5dca64ed5
Fix pg_restore to accept POSIX-conformant tar files.

Back-patch portions of commit 05b555d12bc2ad0d581f48a12b45174db41dc10d.
We need to patch pg_restore to accept either version of the magic string,
in hopes of avoiding compatibility problems when 9.3 comes out.  I also
fixed pg_dump to write the correct 2-block EOF marker, since that won't
create a compatibility problem with pg_restore and it could help with some
versions of tar.

Brian Weaver and Tom Lane
src/bin/pg_dump/pg_backup_tar.c