diff options
Diffstat (limited to 'src/bin/pg_dump/pg_backup_tar.c')
-rw-r--r-- | src/bin/pg_dump/pg_backup_tar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c index 2f2e4fc541c..c4c028c04ca 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.39 2003/11/29 19:52:05 pgsql Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.40 2003/12/06 03:00:11 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -259,11 +259,11 @@ _ArchiveEntry(ArchiveHandle *AH, TocEntry *te) { #ifdef HAVE_LIBZ if (AH->compression == 0) - sprintf(fn, "%d.dat", te->id); + sprintf(fn, "%d.dat", te->dumpId); else - sprintf(fn, "%d.dat.gz", te->id); + sprintf(fn, "%d.dat.gz", te->dumpId); #else - sprintf(fn, "%d.dat", te->id); + sprintf(fn, "%d.dat", te->dumpId); #endif ctx->filename = strdup(fn); } |