Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 15eb122

Browse files
committed
Remove redundant relkind check
Ranier Vilela Reviewed by Justin Pryzby Discussion: https://www.postgresql.org/message-id/CAEudQAp2R2fbbi0OHHhv_n4%3DCh0t1VtjObR9YMqtGKHJ%2BfaUFQ%40mail.gmail.com
1 parent e29c565 commit 15eb122

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bin/pg_dump/pg_dump.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -15546,8 +15546,7 @@ dumpTableSchema(Archive *fout, const TableInfo *tbinfo)
1554615546
if (tbinfo->relkind == RELKIND_MATVIEW)
1554715547
append_depends_on_extension(fout, q, &tbinfo->dobj,
1554815548
"pg_catalog.pg_class",
15549-
tbinfo->relkind == RELKIND_MATVIEW ?
15550-
"MATERIALIZED VIEW" : "INDEX",
15549+
"MATERIALIZED VIEW",
1555115550
qualrelname);
1555215551

1555315552
/*

0 commit comments

Comments
 (0)