Commit 4da29da1 authored by Robert Haas's avatar Robert Haas

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

parent ce68df46
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * 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[]) ...@@ -444,7 +444,7 @@ main(int argc, char *argv[])
} }
/* Force quoting of all identifiers if requested. */ /* 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"); executeCommand(conn, "SET quote_all_identifiers = true");
fprintf(OPF, "--\n-- PostgreSQL database cluster dump\n--\n\n"); fprintf(OPF, "--\n-- PostgreSQL database cluster dump\n--\n\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment