Change typreceive function API so that receive functions get the same

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

Commit: d78397d301172cccce14d5d789f296c47dd47c5e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-07-10T21:14:00Z
Releases: 8.1.0
Change typreceive function API so that receive functions get the same
optional arguments as text input functions, ie, typioparam OID and
atttypmod.  Make all the datatypes that use typmod enforce it the same
way in typreceive as they do in typinput.  This fixes a problem with
failure to enforce length restrictions during COPY FROM BINARY.

Files