From: Bruce Momjian Date: Sun, 27 Jul 2003 19:30:24 +0000 (+0000) Subject: Adjust oid2name to skip certain row types, per Tom. X-Git-Tag: REL7_4_BETA1~101 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=51e46d14f81620f4d5491888fec5f2bc8328b55b;p=users%2Fkgrittn%2Fpostgres.git Adjust oid2name to skip certain row types, per Tom. --- 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);