aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-23 23:10:15 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-23 23:10:15 +0200
commit7f508f1c6b515df66d27f860b2faa7b5761fa55d (patch)
tree4c7390c61e8a890c22d97f83364b89f729f21ca8 /src/bin/pg_dump/pg_backup.h
parentf36920796ec1335733493f7860d6f2f711c20398 (diff)
downloadpostgresql-7f508f1c6b515df66d27f860b2faa7b5761fa55d.tar.gz
postgresql-7f508f1c6b515df66d27f860b2faa7b5761fa55d.zip
Add 'directory' format to pg_dump. The new directory format is compatible
with the 'tar' format, in that untarring a tar format archive produces a valid directory format archive. Joachim Wieland and Heikki Linnakangas
Diffstat (limited to 'src/bin/pg_dump/pg_backup.h')
-rw-r--r--src/bin/pg_dump/pg_backup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_backup.h b/src/bin/pg_dump/pg_backup.h
index 8fa9a57bacb..f51c95828ae 100644
--- a/src/bin/pg_dump/pg_backup.h
+++ b/src/bin/pg_dump/pg_backup.h
@@ -50,7 +50,8 @@ typedef enum _archiveFormat
archCustom = 1,
archFiles = 2,
archTar = 3,
- archNull = 4
+ archNull = 4,
+ archDirectory = 5
} ArchiveFormat;
typedef enum _archiveMode