mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
pg_dump: Remove undocumented "files" output format
This was for demonstration only, and now it was creating compiler
warnings from zlib without an obvious fix (see also
d923125b77
), let's just remove it. The
"directory" format is presumably similar enough anyway.
This commit is contained in:
@@ -934,13 +934,6 @@ parseArchiveFormat(const char *format, ArchiveMode *mode)
|
||||
archiveFormat = archDirectory;
|
||||
else if (pg_strcasecmp(format, "directory") == 0)
|
||||
archiveFormat = archDirectory;
|
||||
else if (pg_strcasecmp(format, "f") == 0 || pg_strcasecmp(format, "file") == 0)
|
||||
|
||||
/*
|
||||
* Dump files into the current directory; for demonstration only, not
|
||||
* documented.
|
||||
*/
|
||||
archiveFormat = archFiles;
|
||||
else if (pg_strcasecmp(format, "p") == 0)
|
||||
archiveFormat = archNull;
|
||||
else if (pg_strcasecmp(format, "plain") == 0)
|
||||
|
Reference in New Issue
Block a user