Re: 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: Determining return type of polymorphic function
Date: 2005-08-11 18:51:11
Message-ID: 4682.1123786271@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:
> I was thinking of actually also storing the oid in the typelem field
> but the docs imply this does something fancy with subscripting.

Yeah, like enable it ;-). You can't do that unless you are some kind
of array type. typelem pointing at yourself would be particularly
bad news --- probably lead to infinite loops ...

> Would a patch to change the rules be accepted, or would it be
> considered a unnecessary backward incompatable change?

I wouldn't back-patch it, but it seems like something we could still put
in for 8.1.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wong 2005-08-11 20:31:44 Re: [HACKERS] O_DIRECT for WAL writes
Previous Message Martijn van Oosterhout 2005-08-11 18:40:34 Re: Determining return type of polymorphic function