Re: hstores in pl/python

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: hstores in pl/python
Дата
Msg-id 14588.1292345569@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: hstores in pl/python  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: hstores in pl/python  (Jan Urbański <wulczer@wulczer.org>)
Re: hstores in pl/python  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On mån, 2010-12-13 at 08:50 +0100, Jan Urbański wrote:
>> It would be cool to be able to transparently use hstores as Python
>> dictionaries and vice versa. It would be easy enough with hstore as a
>> core type, but with hstore as an addon it's not that easy.

> I have been thinking about this class of problems for a while.  I think
> the proper fix is to have a user-definable mapping between types and
> languages.  It would be another pair of input/output functions,
> essentially.

Interesting thought, but it still leaves you needing to solve the
problem of interconnecting two optional addons ...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: hstores in pl/python
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: hstores in pl/python