From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Jan Urbański <wulczer(at)wulczer(dot)org>, Postgres - Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: hstores in pl/python |
Date: | 2010-12-14 16:52:49 |
Message-ID: | 14588.1292345569@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> On mn, 2010-12-13 at 08:50 +0100, Jan Urbaski 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
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitriy Igrishin | 2010-12-14 16:53:30 | Re: hstores in pl/python |
Previous Message | Tom Lane | 2010-12-14 16:51:18 | Re: hstores in pl/python |