Anonymous record type and inner types. - Mailing list pgsql-general

From Ronan Dunklau
Subject Anonymous record type and inner types.
Date
Msg-id 201107011038.01204.rdunklau@gmail.com
Whole thread Raw
Responses Re: Anonymous record type and inner types.
Re: Anonymous record type and inner types.
List pgsql-general
Hello.

Sorry if this question has already been asked, but I couldn't find the answer
anywhere.

When I execute a statement such as "Select (an_int, a_varchar) as a_record
from test, the type returned for a_record is "record" (oid 2249).

Is the "inner type" information propagated somehow (that an_int is an integer,
and a_varchar a varchar) ?

If so, is it easily accessible in client libraries ? I'm using psycopg2 for
python, which itself uses libpq.

Thanks.

Regards,

--
Ronan Dunklau







Attachment

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: How to create "auto-increment" field WITHOUT a sequence object?
Next
From: rdunklau@gmail.com
Date:
Subject: Anonymous record type and inner types.