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:
John Naylor 2023-01-17 14:25:01 +07:00
parent e29c565343
commit 15eb122880
1 changed files with 1 additions and 2 deletions

View File

@ -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);
/*