projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e29c565
)
Remove redundant relkind check
author
John Naylor
<
[email protected]
>
Tue, 17 Jan 2023 07:25:01 +0000
(14:25 +0700)
committer
John Naylor
<
[email protected]
>
Tue, 17 Jan 2023 07:25:01 +0000
(14:25 +0700)
Ranier Vilela
Reviewed by Justin Pryzby
Discussion: https://www.postgresql.org/message-id/CAEudQAp2R2fbbi0OHHhv_n4%3DCh0t1VtjObR9YMqtGKHJ%2BfaUFQ%40mail.gmail.com
src/bin/pg_dump/pg_dump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dump.c
b/src/bin/pg_dump/pg_dump.c
index 2c0a969972949f8f17e7ef6c567c193370c034df..527c7651ab24a306c4518ef97aa4c96152d12e92 100644
(file)
--- a/
src/bin/pg_dump/pg_dump.c
+++ b/
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);
/*