Re: flexi adaption/casting scheme

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: flexi adaption/casting scheme
Дата
Msg-id CA+mi_8ahWpG2U9Mq-GhPypR165yzt43J3G714xR7W=41RtWN4A@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 2:57 PM, Tobias Oberstein
<tobias.oberstein@gmail.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? https://github.com/dvarrazzo/psycopg/commit/9949e04c70386e09a4dde2371b82895b0163d9ef

-- Daniele


В списке psycopg по дате отправления:

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