pgsql: Remove some more dead code in pg_dump.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove some more dead code in pg_dump.
Date: 2021-12-19 22:18:55
Message-ID: E1mz4W7-0001vS-OF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove some more dead code in pg_dump.

Coverity complained that parts of dumpFunc() and buildACLCommands()
were now unreachable, as indeed they are. Remove 'em.

In passing, make dumpFunc's handling of protrftypes less gratuitously
different from other fields.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b1c169caf0678a82cf26b5656e01399f6153456b

Modified Files
--------------
src/bin/pg_dump/dumputils.c | 72 ++++++++++++---------------------------------
src/bin/pg_dump/pg_dump.c | 72 ++++-----------------------------------------
2 files changed, 25 insertions(+), 119 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2021-12-20 09:43:06 pgsql: doc: More documentation on regular expressions and SQL standard
Previous Message Michael Paquier 2021-12-18 07:31:03 pgsql: Fix typo in TAP tests of pg_receivewal