postgres.git / summary / log / commit / refs
commit 606debf26833371b9ea56f297d9ec0d2ada534d5
Author: Bruce Momjian <bruce@momjian.us>
Date: Sun Jul 27 20:12:06 2003 +0000
First released in: 7.4
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);
[parent: 440953e6cde3]