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
Re: hstores in pl/python |
| Список | 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 по дате отправления: