Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6f8d200

Browse files
committed
Remove erroneous comma added to pg_dumpall tablespace query when running
with PG version 8.2-8.4.
1 parent 2391396 commit 6f8d200

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.130 2010/01/05 21:53:59 rhaas Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.131 2010/01/06 03:34:41 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -969,7 +969,7 @@ dumpTablespaces(PGconn *conn)
969969
res = executeQuery(conn, "SELECT spcname, "
970970
"pg_catalog.pg_get_userbyid(spcowner) AS spcowner, "
971971
"spclocation, spcacl, null, "
972-
"pg_catalog.shobj_description(oid, 'pg_tablespace'), "
972+
"pg_catalog.shobj_description(oid, 'pg_tablespace') "
973973
"FROM pg_catalog.pg_tablespace "
974974
"WHERE spcname !~ '^pg_' "
975975
"ORDER BY 1");

0 commit comments

Comments
 (0)