Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 15eb122

Browse filesBrowse 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
Copy full SHA for 15eb122

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎src/bin/pg_dump/pg_dump.c

Copy file name to clipboardExpand all lines: src/bin/pg_dump/pg_dump.c
+1-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.