mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Add comment that pg_dump 'append' format is used only by pg_dump, per
Dave Page.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
* by PostgreSQL
|
* by PostgreSQL
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.463 2007/03/22 20:18:49 momjian Exp $
|
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.464 2007/03/22 20:47:12 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@@ -478,7 +478,7 @@ main(int argc, char **argv)
|
|||||||
/* open the output file */
|
/* open the output file */
|
||||||
if (pg_strcasecmp(format, "a") == 0 || pg_strcasecmp(format, "append") == 0)
|
if (pg_strcasecmp(format, "a") == 0 || pg_strcasecmp(format, "append") == 0)
|
||||||
{
|
{
|
||||||
/* not documented */
|
/* This is used by pg_dumpall, and is not documented */
|
||||||
plainText = 1;
|
plainText = 1;
|
||||||
g_fout = CreateArchive(filename, archNull, 0, archModeAppend);
|
g_fout = CreateArchive(filename, archNull, 0, archModeAppend);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user