Re: pg_dump: Remove some dead code

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump: Remove some dead code
Date: 2023-02-21 21:42:23
Message-ID: 4032393.1677015743@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> writes:
> I have found that the per-column atttypmod tracking in pg_dump isn't
> actually used anywhere. (The values are read but not used for writing
> out any commands.) This is because some time ago we started formatting
> all types through format_type() on the server. So this dead code can be
> removed.

Good catch. LGTM.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2023-02-21 22:24:12 Re: [PoC] Federated Authn/z with OAUTHBEARER
Previous Message David G. Johnston 2023-02-21 21:34:27 Re: psql: Add role's membership options to the \du+ command