Re: Expression to construct a anonymous record with named columns?

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: Expression to construct a anonymous record with named columns?
Дата
Msg-id FBB23506-2391-44A9-8F2F-4A151272549B@gmail.com
обсуждение исходный текст
Ответ на Expression to construct a anonymous record with named columns?  (Benedikt Grundmann <benedikt.grundmann@gmail.com>)
Ответы Re: Expression to construct a anonymous record with named columns?  (Benedikt Grundmann <benedikt.grundmann@gmail.com>)
Список pgsql-general
On 20 Sep 2012, at 20:36, Benedikt Grundmann wrote:

> So named anonymous records / row types seem to be strangely second class.  Can somebody clarify the restrictions and
rationaleor even better show a way to do the equivalent of (made up syntax ahead): 
>
> select row(1 as a, 2 as b);

select * from (values (1, 2, 3)) a (a, b, c);

Alban Hertroys

--
Screwing up is an excellent way to attach something to the ceiling.



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

Предыдущее
От: Chris Angelico
Дата:
Сообщение: Re: Using psql -f to load a UTF8 file
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: Using psql -f to load a UTF8 file