From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Merlin Moncure <mmoncure(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: WITH RECURSIVE ... CYCLE in vanilla SQL: issues with arrays of rows |
Date: | 2008-10-13 23:15:34 |
Message-ID: | 20081013231534.GE4574@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane escribió:
> "Merlin Moncure" <mmoncure(at)gmail(dot)com> writes:
> > On Mon, Oct 13, 2008 at 9:56 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> >> I'm inclined to apply the patch with binary-coercibility adjustments
> >> and not try to turn RECORD or RECORD[] into full-fledged polymorphic
> >> types. It's not immediately clear what the use of that would be
> >> anyway.
>
> > ...meaning, that you would not be able to create a function taking
> > generic 'record' as a parameter?
>
> Well, you've never been able to do that, although for many of the PLs
> there doesn't seem to be any very fundamental reason why not.
Yeah, it seems an arbitrary restriction for no very good reason. When I
was working on PL/php (years ago) I tried to make it work because I
found it useful for some use case I was trying, but couldn't. I don't
remember the details (and PL/php has been pretty much abandoned since
then anyway.)
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Hitoshi Harada | 2008-10-14 00:48:05 | Re: Window Functions patch v06 |
Previous Message | David Rowley | 2008-10-13 23:02:36 | Re: Window Functions patch v06 |