Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> On Fri, Aug 12, 2005 at 09:56:47AM +0200, Martijn van Oosterhout wrote:
>> Ok, here's a patch (with documentation update). I checked the
>> regression tests (looked over, not run) but nothing there appears to
>> test this anyway. I looked through all the datatype input functions but
>> none of them even use the second argument except array and record types
>> and they're explicitly unchanged.
>>
>> Note: the logic could be simplified if we could assume composite types
>> can't have a non-zero typelem.
They don't. Applied with that simplification.
regards, tom lane