Adjust oid2name to skip certain row types, per Tom.

WIN32_DEV
Bruce Momjian 22 years ago
parent e7f3645171
commit 51e46d14f8
  1. 2
      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);

Loading…
Cancel
Save