projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7f3645
)
Adjust oid2name to skip certain row types, per Tom.
author
Bruce Momjian
Sun, 27 Jul 2003 19:30:24 +0000
(19:30 +0000)
committer
Bruce Momjian
Sun, 27 Jul 2003 19:30:24 +0000
(19:30 +0000)
contrib/oid2name/oid2name.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/oid2name/oid2name.c
b/contrib/oid2name/oid2name.c
index 9e8320eba182eaf70d7875fea791a0215e22d2b0..96f09575f68641567ee0c8681f244536058584ce 100644
(file)
--- 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 rel
type not in ('v','c
') and "
+ "where rel
kind not in ('v','s', 't
') and "
"relname not like 'pg_%%' order by relname");
sql_exec(conn, todo, 0);