Re: Expression to construct a anonymous record with named columns? - Mailing list pgsql-general

From Alban Hertroys
Subject Re: Expression to construct a anonymous record with named columns?
Date
Msg-id FBB23506-2391-44A9-8F2F-4A151272549B@gmail.com
Whole thread Raw
In response to Expression to construct a anonymous record with named columns?  (Benedikt Grundmann <benedikt.grundmann@gmail.com>)
Responses Re: Expression to construct a anonymous record with named columns?
List 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 by date:

Previous
From: Chris Angelico
Date:
Subject: Re: Using psql -f to load a UTF8 file
Next
From: Alban Hertroys
Date:
Subject: Re: Using psql -f to load a UTF8 file