summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorBruce Momjian1997-06-07 05:19:06 +0000
committerBruce Momjian1997-06-07 05:19:06 +0000
commit51b03770d77dd32f4250ded5d3d83bc08761711c (patch)
tree440d05f606a130fce3c997f2ccbce01cfc3fbca7 /src/bin
parent34fa6c6b709aedfe0bb028ac35f3f7bb6344c1f4 (diff)
avoid xinv* table name conflict with large objects.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/pg_dump/pg_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 1a2f1c19dcb..d3d6d26ffe7 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.30 1997/06/05 22:59:45 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.31 1997/06/07 05:19:06 momjian Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
@@ -1081,7 +1081,7 @@ getTables(int *numTables)
sprintf(query,
"SELECT oid, relname, relarch, relkind, relacl from pg_class "
"where (relkind = 'r' or relkind = 'S') and relname !~ '^pg_' "
- "and relname !~ '^xinv' order by oid;");
+ "and relname !~ '^xinv[0-9]' order by oid;");
res = PQexec(g_conn, query);
if (!res ||