Fix handling of pg_type.typdefault per bug report from Dave Blasby.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6c91eef7b73b53d3fa7023f487b1ae842f4f9e4d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-09-06T02:07:42Z
Releases: 7.2.1
Fix handling of pg_type.typdefault per bug report from Dave Blasby.
If there's anyone out there who's actually using datatype-defined
default values, this will be an incompatible change in behavior ...
but the old behavior was so broken that I doubt anyone was using it.

Files