mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Fix bogus server version in pg_dumpall --quote-all-identifiers.
This commit is contained in:
parent
ce68df468a
commit
4da29da181
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.135 2010/07/22 01:22:34 rhaas Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.136 2010/07/22 01:25:01 rhaas Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -444,7 +444,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Force quoting of all identifiers if requested. */
|
||||
if (quote_all_identifiers && server_version >= 90000)
|
||||
if (quote_all_identifiers && server_version >= 90100)
|
||||
executeCommand(conn, "SET quote_all_identifiers = true");
|
||||
|
||||
fprintf(OPF, "--\n-- PostgreSQL database cluster dump\n--\n\n");
|
||||
|
Loading…
Reference in New Issue
Block a user