Fix bogus server version in pg_dumpall --quote-all-identifiers.

This commit is contained in:
Robert Haas 2010-07-22 01:25:01 +00:00
parent ce68df468a
commit 4da29da181

View File

@ -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");