postgres.git / summary / log / commit / refs
commit 6f8d2008fcb4a866567f1ceaf76e0da5a66eab29
Author: Bruce Momjian <bruce@momjian.us>
Date: Wed Jan 06 03:34:41 2010 +0000
First released in: 9.0.0
Remove erroneous comma added to pg_dumpall tablespace query when running
with PG version 8.2-8.4.
src/bin/pg_dump/pg_dumpall.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c
index f46a29586cb..48084db12f8 100644
--- a/src/bin/pg_dump/pg_dumpall.c
+++ b/src/bin/pg_dump/pg_dumpall.c
@@ -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.130 2010/01/05 21:53:59 rhaas Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.131 2010/01/06 03:34:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -969,7 +969,7 @@ dumpTablespaces(PGconn *conn)
res = executeQuery(conn, "SELECT spcname, "
"pg_catalog.pg_get_userbyid(spcowner) AS spcowner, "
"spclocation, spcacl, null, "
- "pg_catalog.shobj_description(oid, 'pg_tablespace'), "
+ "pg_catalog.shobj_description(oid, 'pg_tablespace') "
"FROM pg_catalog.pg_tablespace "
"WHERE spcname !~ '^pg_' "
"ORDER BY 1");
[parent: 2391396b3d93]