From 51e46d14f81620f4d5491888fec5f2bc8328b55b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 27 Jul 2003 19:30:24 +0000 Subject: [PATCH] Adjust oid2name to skip certain row types, per Tom. --- 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 9e8320eba1..96f09575f6 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 reltype not in ('v','c') and " + "where relkind not in ('v','s', 't') and " "relname not like 'pg_%%' order by relname"); sql_exec(conn, todo, 0);