From ce1489fa942a0e5713456563afb8debaefeecd38 Mon Sep 17 00:00:00 2001
From: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Date: Sat, 19 Dec 2009 04:13:30 +0000
Subject: [PATCH] Add a whitespace to fix the query to dump large objects.

PL/pgSQL-by-default patch broke the code for 8.3 <= server_version < 8.5.
---
 src/bin/pg_dump/pg_dump.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index e1fd1c0dc4..b231e9ae5b 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -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'" : "");