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

Lines changed: 1 addition & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy