diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-01-25 22:44:47 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-01-25 22:44:47 +0000 |
commit | 6f28c7763e103d0d2184818a7cec344157060fab (patch) | |
tree | 78a82739b1203361877236bf521f5653fceb7073 /src/bin/pg_dump/pg_backup_tar.c | |
parent | 5cc4c640d91f6c7e71d53eb637434d9e0bc1f742 (diff) | |
download | postgresql-6f28c7763e103d0d2184818a7cec344157060fab.tar.gz postgresql-6f28c7763e103d0d2184818a7cec344157060fab.zip |
Fix breakage created by addition of separate 'acl pass' in pg_dump.
Also clean up incredibly poor style in TocIDRequired() usage.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_tar.c')
-rw-r--r-- | src/bin/pg_dump/pg_backup_tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c index 97b5c3576e3..c13ae903c0c 100644 --- a/src/bin/pg_dump/pg_backup_tar.c +++ b/src/bin/pg_dump/pg_backup_tar.c @@ -16,7 +16,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.46 2004/11/29 03:01:54 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.46.4.1 2005/01/25 22:44:47 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1120,7 +1120,7 @@ _tarPositionTo(ArchiveHandle *AH, const char *filename) ahlog(AH, 4, "skipping tar member %s\n", th->targetFile); id = atoi(th->targetFile); - if ((TocIDRequired(AH, id, AH->ropt) & 2) != 0) + if ((TocIDRequired(AH, id, AH->ropt) & REQ_DATA) != 0) die_horribly(AH, modulename, "dumping data out of order is not supported in this archive format: " "%s is required, but comes before %s in the archive file.\n", th->targetFile, filename); |