From 606debf26833371b9ea56f297d9ec0d2ada534d5 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sun, 27 Jul 2003 20:12:06 +0000
Subject: [PATCH] Updatge to skip composite types.

---
 contrib/oid2name/oid2name.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/oid2name/oid2name.c b/contrib/oid2name/oid2name.c
index 96f09575f68..e2e2907267f 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);
-- 
GitLab