Skip site navigation (1) Skip section navigation (2)

pgsql: Fix pg_restore to accept POSIX-conformant tar files.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_restore to accept POSIX-conformant tar files.
Date: 2012-09-28 19:42:52
Message-ID: E1THgSa-0002EH-Dp@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ad721d0e27c94e6b6411e00eb3a72aa6553fcf7a

Modified Files
--------------
src/bin/pg_dump/pg_backup_tar.c |   27 +++++++++++++++++++--------
1 files changed, 19 insertions(+), 8 deletions(-)

pgsql-committers by date

Next:From: Alvaro HerreraDate: 2012-09-28 21:39:52
Subject: pgsql: Add alter_generic regression test
Previous:From: Tom LaneDate: 2012-09-28 19:36:04
Subject: pgsql: Fix tar files emitted by pg_basebackup to be POSIX conformant.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group