Skip to content

Commit 51e46d1

Browse files
committed
Adjust oid2name to skip certain row types, per Tom.
1 parent e7f3645 commit 51e46d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/oid2name/oid2name.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ sql_exec_dumptable(PGconn *conn, int systables)
356356
snprintf(todo, 1024, "select relfilenode,relname from pg_class order by relname");
357357
else
358358
snprintf(todo, 1024, "select relfilenode,relname from pg_class "
359-
"where reltype not in ('v','c') and "
359+
"where relkind not in ('v','s', 't') and "
360360
"relname not like 'pg_%%' order by relname");
361361

362362
sql_exec(conn, todo, 0);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy