Re: flexi adaption/casting scheme

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: flexi adaption/casting scheme
Дата
Msg-id CA+mi_8Y=-x9guOG5bwGTD0=aTP+tu0PwHqsWwzM9i7HRiup2Lg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: flexi adaption/casting scheme  (Tobias Oberstein <tobias.oberstein@gmail.com>)
Ответы Re: flexi adaption/casting scheme  (Tobias Oberstein <tobias.oberstein@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tobias Oberstein
Дата:
Сообщение: Re: flexi adaption/casting scheme
Следующее
От: Tobias Oberstein
Дата:
Сообщение: Re: flexi adaption/casting scheme