Skip site navigation (1) Skip section navigation (2)

Re: flexi adaption/casting scheme

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Tobias Oberstein <tobias(dot)oberstein(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: flexi adaption/casting scheme
Date: 2012-09-22 18:42:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: psycopg
On Sat, Sep 22, 2012 at 7:02 PM, Tobias Oberstein
<tobias(dot)oberstein(at)gmail(dot)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

In response to


psycopg by date

Next:From: Tobias ObersteinDate: 2012-09-22 18:57:23
Subject: Re: flexi adaption/casting scheme
Previous:From: Tobias ObersteinDate: 2012-09-22 18:02:00
Subject: Re: flexi adaption/casting scheme

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group