Re: anonymous composite types for Table Functions (aka SRFs)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: anonymous composite types for Table Functions (aka SRFs)
Date: 2002-08-05 02:58:47
Message-ID: 8695.1028516327@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Joe Conway <mail(at)joeconway(dot)com> writes:
> Actually, I was just looking at this and remembering that I wanted to
> disallow a coldeflist for non-RECORD return types. Do you prefer to
> allow it (but properly apply the alias and enforce the type)?

We could do that too; what I was unhappy about was that the system
took the syntax and then didn't apply the type checking that the syntax
seems to imply. I'd prefer to do the type checking ... but I don't
want to expend a heckuva lot of code on it, so maybe erroring out
is the better answer.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-08-05 03:10:31 Re: fate of CLUSTER command ?
Previous Message Christopher Kings-Lynne 2002-08-05 02:36:57 Re: HASH: Out of overflow pages. Out of luck

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2002-08-05 04:00:31 Re: anonymous composite types for Table Functions (aka
Previous Message Joe Conway 2002-08-05 02:10:20 Re: anonymous composite types for Table Functions (aka