From 4799bb8d33731ddd0426a10858155729a369b599 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 16 Mar 1998 05:41:39 +0000
Subject: [PATCH] Fix for pg_dump of large objects, from
 alvin@camberlo.demon.co.uk.

---
 src/bin/pg_dump/pg_dump.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 3d9732e0b1a..f95d6829640 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -21,7 +21,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.65 1998/03/14 21:57:22 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.66 1998/03/16 05:41:39 momjian Exp $
  *
  * Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
  *
@@ -1856,7 +1856,7 @@ getIndices(int *numIndices)
 	 * find all the user-defined indices. We do not handle partial
 	 * indices.
 	 *
-	 * skip 'Xinx*' - indices on inversion objects
+	 * skip 'xinx*' - indices on inversion objects
 	 *
 	 * this is a 4-way join !!
 	 */
@@ -1877,7 +1877,7 @@ getIndices(int *numIndices)
 			"from pg_index i, pg_class t1, pg_class t2, pg_am a "
 			"where t1.oid = i.indexrelid and t2.oid = i.indrelid "
 			"and t1.relam = a.oid and i.indexrelid > '%d'::oid "
-			"and t2.relname !~ '^pg_' and t1.relname !~ '^Xinx'",
+			"and t2.relname !~ '^pg_' and t1.relname !~ '^xinx'",
 			g_last_builtin_oid);
 
 	res = PQexec(g_conn, query);
-- 
GitLab