Remove redundant relkind check
Ranier Vilela Reviewed by Justin Pryzby Discussion: https://www.postgresql.org/message-id/CAEudQAp2R2fbbi0OHHhv_n4%3DCh0t1VtjObR9YMqtGKHJ%2BfaUFQ%40mail.gmail.com
This commit is contained in:
parent
e29c565343
commit
15eb122880
|
@ -15546,8 +15546,7 @@ dumpTableSchema(Archive *fout, const TableInfo *tbinfo)
|
|||
if (tbinfo->relkind == RELKIND_MATVIEW)
|
||||
append_depends_on_extension(fout, q, &tbinfo->dobj,
|
||||
"pg_catalog.pg_class",
|
||||
tbinfo->relkind == RELKIND_MATVIEW ?
|
||||
"MATERIALIZED VIEW" : "INDEX",
|
||||
"MATERIALIZED VIEW",
|
||||
qualrelname);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue