Re: flexi adaption/casting scheme - Mailing list psycopg

From Daniele Varrazzo
Subject Re: flexi adaption/casting scheme
Date
Msg-id CA+mi_8Y=-x9guOG5bwGTD0=aTP+tu0PwHqsWwzM9i7HRiup2Lg@mail.gmail.com
Whole thread Raw
In response to Re: flexi adaption/casting scheme  (Tobias Oberstein <tobias.oberstein@gmail.com>)
Responses Re: flexi adaption/casting scheme
List psycopg
On Sat, Sep 22, 2012 at 7:02 PM, Tobias Oberstein
<tobias.oberstein@gmail.com> wrote:
>> Procedures with OUT parameters don't return a specific oid: they
>> return a generic "record" oid (2249).
>
>
> Sorry to bother you once more: is it possible to cast any PG RECORD
> (anything OID 2249) into Python _lists_?

Postgres doesn't tell you the oids of the components, so you cannot
cast them to python types: you can only have them as strings.

-- Daniele


psycopg by date:

Previous
From: Tobias Oberstein
Date:
Subject: Re: flexi adaption/casting scheme
Next
From: Tobias Oberstein
Date:
Subject: Re: flexi adaption/casting scheme