Re: return query/composite types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: return query/composite types
Дата
Msg-id 14625.1235163325@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: return query/composite types  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
Merlin Moncure <mmoncure@gmail.com> writes:
> On Fri, Feb 20, 2009 at 3:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Use "select * from ..." instead.

> Yeah...I was thinking maybe that shouldn't be required:

If you allow both interpretations then you create a syntactic ambiguity
(at least for the case of single-column composite types).  We have
historically allowed both in SQL functions, but I think that's a design
error that shouldn't be repeated in other PLs.
        regards, tom lane


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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: return query/composite types
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: [Pljava-dev] Re: Should creating a new base type require superuser status?