Re: flexi adaption/casting scheme

From: Tobias Oberstein <tobias(dot)oberstein(at)gmail(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: flexi adaption/casting scheme
Date: 2012-09-22 13:57:14
Message-ID: 505DC3BA.8020504@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

>> 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.

Thanks!

Tobias

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2012-09-22 14:15:22 Re: flexi adaption/casting scheme
Previous Message Daniele Varrazzo 2012-09-22 13:53:20 Re: flexi adaption/casting scheme