pg_dump: Remove some dead code
Started by Peter Eisentrautabout 3 years ago2 messageshackers
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.
Attachments:
0001-pg_dump-Remove-dead-code.patchtext/plain; charset=UTF-8; name=0001-pg_dump-Remove-dead-code.patchDownload+0-7
Re: pg_dump: Remove some dead code
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