diff options
Diffstat (limited to 'src/bin/pg_dump/pg_backup_tar.c')
-rw-r--r-- | src/bin/pg_dump/pg_backup_tar.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c index 006f7dab72e..d0f6a589b32 100644 --- a/src/bin/pg_dump/pg_backup_tar.c +++ b/src/bin/pg_dump/pg_backup_tar.c @@ -4,6 +4,10 @@ * * This file is copied from the 'files' format file, but dumps data into * one temp file then sends it to the output TAR archive. + * + * NOTE: If you untar the created 'tar' file, the resulting files are + * compatible with the 'directory' format. Please keep the two formats in + * sync. * * See the headers to pg_backup_files & pg_restore for more details. * @@ -167,7 +171,7 @@ InitArchiveFmt_Tar(ArchiveHandle *AH) die_horribly(AH, modulename, "out of memory\n"); /* - * Now open the TOC file + * Now open the tar file, and load the TOC if we're in read mode. */ if (AH->mode == archModeWrite) { |