Re: anonymous composite types for Table Functions (aka

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: anonymous composite types for Table Functions (aka
Дата
Msg-id 3D4DFCCA.6040907@joeconway.com
обсуждение исходный текст
Ответ на Re: anonymous composite types for Table Functions (aka SRFs)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: anonymous composite types for Table Functions (aka SRFs)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Hm.  I'd sort of expect the "z" to become both the table and column
> alias in this case.  What do you think?

I guess that would make sense. I'll make a separate patch just for that
change if that's OK.


> Other examples look good.  Code style comment:
>
>
>>+         if (functyptype != 'p' || (functyptype == 'p' && funcrettype != RECORDOID))
>
>
> This test seems redundant, why not
>
>         if (functyptype != 'p' || funcrettype != RECORDOID)
>

You're correct, of course. But I started out with a much more convoluted
test than that, so at least this was an improvement ;-)

Joe



В списке pgsql-patches по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: anonymous composite types for Table Functions (aka
Следующее
От: Joe Conway
Дата:
Сообщение: Re: anonymous composite types for Table Functions (aka