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