Add a whitespace to fix the query to dump large objects.
authorItagaki Takahiro <[email protected]>
Sat, 19 Dec 2009 04:13:30 +0000 (04:13 +0000)
committerItagaki Takahiro <[email protected]>
Sat, 19 Dec 2009 04:13:30 +0000 (04:13 +0000)
PL/pgSQL-by-default patch broke the code for 8.3 <= server_version < 8.5.

src/bin/pg_dump/pg_dump.c

index e058dffbc2a2d239d3b7da3b9712ed112bd81c03..9748379e59dba1d4ec7811b0b378cac8552c0396 100644 (file)
@@ -4613,7 +4613,7 @@ getProcLangs(int *numProcLangs)
                          "lanvalidator,  lanacl, "
                          "(%s lanowner) AS lanowner "
                          "FROM pg_language "
-                         "WHERE lanispl%s"
+                         "WHERE lanispl%s "
                          "ORDER BY oid",
                          username_subquery,
                          binary_upgrade ? "\nAND lanname != 'plpgsql'" : "");