mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 01:56:54 +02:00
Remove erroneous comma added to pg_dumpall tablespace query when running
with PG version 8.2-8.4.
This commit is contained in:
parent
2391396b3d
commit
6f8d2008fc
@ -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.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, "
|
res = executeQuery(conn, "SELECT spcname, "
|
||||||
"pg_catalog.pg_get_userbyid(spcowner) AS spcowner, "
|
"pg_catalog.pg_get_userbyid(spcowner) AS spcowner, "
|
||||||
"spclocation, spcacl, null, "
|
"spclocation, spcacl, null, "
|
||||||
"pg_catalog.shobj_description(oid, 'pg_tablespace'), "
|
"pg_catalog.shobj_description(oid, 'pg_tablespace') "
|
||||||
"FROM pg_catalog.pg_tablespace "
|
"FROM pg_catalog.pg_tablespace "
|
||||||
"WHERE spcname !~ '^pg_' "
|
"WHERE spcname !~ '^pg_' "
|
||||||
"ORDER BY 1");
|
"ORDER BY 1");
|
||||||
|
Loading…
Reference in New Issue
Block a user