Re: [PATCH] Determining return type of polymorphic function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Determining return type of polymorphic function
Date
Msg-id 25096.1123883447@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Determining return type of polymorphic function  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Duplicate object names in GRANT
Next
From: Bruce Momjian
Date:
Subject: Re: pthread stack on FreeBSD WAS: HEAD doesn't cope with libraries