]> granicus.if.org Git - postgresql/commitdiff
Add a whitespace to fix the query to dump large objects.
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Sat, 19 Dec 2009 04:13:30 +0000 (04:13 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
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 e1fd1c0dc4cc7a9917ee8be756995c4eee8b34e9..b231e9ae5bff88acbb38eaf7926aaa379ccf83f3 100644 (file)
@@ -12,7 +12,7 @@
  *     by PostgreSQL
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.557 2009/12/18 21:28:42 momjian Exp $
+ *       $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.558 2009/12/19 04:13:30 itagaki Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -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'" : "");