Thread
Commits
-
pg_dump: Remove some dead code
- f198f0a48cdc 16.0 landed
-
pg_dump: Remove some dead code
Peter Eisentraut <peter.eisentraut@enterprisedb.com> — 2023-02-21T21:30:54Z
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.
-
Re: pg_dump: Remove some dead code
Tom Lane <tgl@sss.pgh.pa.us> — 2023-02-21T21:42:23Z
Peter Eisentraut <peter.eisentraut@enterprisedb.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