Thread: pg_dump: Remove some dead code

pg_dump: Remove some dead code

From
Peter Eisentraut
Date:
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.
Attachment

Re: pg_dump: Remove some dead code

From
Tom Lane
Date:
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