Re: [PATCH] Determining return type of polymorphic function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Determining return type of polymorphic function
Date: 2005-08-12 21:50:47
Message-ID: 25096.1123883447@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wong 2005-08-12 22:16:04 Re: [HACKERS] Autovacuum loose ends
Previous Message Alvaro Herrera 2005-08-12 21:49:41 Re: [HACKERS] Autovacuum loose ends