diff options
| author | John Naylor | 2023-01-17 07:25:01 +0000 |
|---|---|---|
| committer | John Naylor | 2023-01-17 07:25:01 +0000 |
| commit | 15eb1228800a35042ef318f941173aa8b89002d1 (patch) | |
| tree | 49ff144040f7dcd37766716d66de683d27deb1d6 /src/bin | |
| parent | e29c5653434ebf6a88d009746d21ca3a59ddb69b (diff) | |
Remove redundant relkind check
Ranier Vilela
Reviewed by Justin Pryzby
Discussion: https://www.postgresql.org/message-id/CAEudQAp2R2fbbi0OHHhv_n4%3DCh0t1VtjObR9YMqtGKHJ%2BfaUFQ%40mail.gmail.com
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/pg_dump/pg_dump.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 2c0a9699729..527c7651ab2 100644 --- 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); /* |
