提交 4f10a873 编写于 作者: H Heikki Linnakangas

Remove unnecessary condition on relstorage from gpload.

The condition listed all possible values of relstorage, except for
'f' for RELSTORAGE_FOREIGN. The condition on relkind filters out foreign
tables as well, so the condition on relstorage is redundant. (Although
I don't think filtering out foreign table was even the intention here.)
上级 3b1ada53
......@@ -2367,7 +2367,6 @@ class gpload:
FROM pg_catalog.pg_class c
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
WHERE c.relkind IN ('r','v','S','')
AND c.relstorage IN ('h', 'a', 'c','x','v','')
AND n.nspname <> 'pg_catalog'
AND n.nspname <> 'information_schema'
AND n.nspname !~ '^pg_toast'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册