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 14:15:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: psycopg
On Sat, Sep 22, 2012 at 2:57 PM, Tobias Oberstein
<tobias(dot)oberstein(at)gmail(dot)com> wrote:
>>> My use case: have a CompositeDictCaster that spits out:
>>> {'record': 'public.t_station', 'x': 10, 'y': 8}
>>> that is injects a 'record' field containing the composite type name.
>>> Hence I need the schema, not only the typename.
>> Makes sense. I'll see to add a schema attribute to the CompositeCaster.

Added to composite-custom branch.

Would this do?

-- Daniele

In response to


psycopg by date

Next:From: Tobias ObersteinDate: 2012-09-22 14:25:22
Subject: Re: flexi adaption/casting scheme
Previous:From: Tobias ObersteinDate: 2012-09-22 13:57:14
Subject: Re: flexi adaption/casting scheme

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