From: Bruce Momjian <bruce@momjian.us>
Date: Sun, 27 Jul 2003 20:12:06 +0000 (+0000)
Subject: Updatge to skip composite types.
X-Git-Tag: REL7_4_BETA1~99
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=606debf26833371b9ea56f297d9ec0d2ada534d5;p=postgresql

Updatge to skip composite types.
---

diff --git a/contrib/oid2name/oid2name.c b/contrib/oid2name/oid2name.c
index 96f09575f6..e2e2907267 100644
--- a/contrib/oid2name/oid2name.c
+++ b/contrib/oid2name/oid2name.c
@@ -356,7 +356,7 @@ sql_exec_dumptable(PGconn *conn, int systables)
 		snprintf(todo, 1024, "select relfilenode,relname from pg_class order by relname");
 	else
 		snprintf(todo, 1024, "select relfilenode,relname from pg_class "
-							"where relkind not in ('v','s', 't') and "
+							"where relkind not in ('v','s', 'c') and "
 							"relname not like 'pg_%%' order by relname");
 
 	sql_exec(conn, todo, 0);