Remove erroneous comma added to pg_dumpall tablespace query when running
authorBruce Momjian <[email protected]>
Wed, 6 Jan 2010 03:34:41 +0000 (03:34 +0000)
committerBruce Momjian <[email protected]>
Wed, 6 Jan 2010 03:34:41 +0000 (03:34 +0000)
with PG version 8.2-8.4.

src/bin/pg_dump/pg_dumpall.c

index 6cd8055e6287f9e00ba0ee5d3da7d1d0fb7dc64f..f782a1c92b6f4d70b60333b9e8320401a12a334f 100644 (file)
@@ -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");