Skip to content

Commit 4da29da

Browse files
committed
Fix bogus server version in pg_dumpall --quote-all-identifiers.
1 parent ce68df4 commit 4da29da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_dump/pg_dumpall.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
*
9-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.135 2010/07/22 01:22:34 rhaas Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.136 2010/07/22 01:25:01 rhaas Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -444,7 +444,7 @@ main(int argc, char *argv[])
444444
}
445445

446446
/* Force quoting of all identifiers if requested. */
447-
if (quote_all_identifiers && server_version >= 90000)
447+
if (quote_all_identifiers && server_version >= 90100)
448448
executeCommand(conn, "SET quote_all_identifiers = true");
449449

450450
fprintf(OPF, "--\n-- PostgreSQL database cluster dump\n--\n\n");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy