Remove redundant relkind check

Ranier Vilela

Reviewed by Justin Pryzby
Discussion: https://www.postgresql.org/message-id/CAEudQAp2R2fbbi0OHHhv_n4%3DCh0t1VtjObR9YMqtGKHJ%2BfaUFQ%40mail.gmail.com
pull/114/head
John Naylor 3 years ago
parent e29c565343
commit 15eb122880
  1. 3
      src/bin/pg_dump/pg_dump.c

@ -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…
Cancel
Save