Re: hstores in pl/python

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jan Urbański <wulczer(at)wulczer(dot)org>
Cc: Postgres - Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: hstores in pl/python
Date: 2010-12-14 12:15:16
Message-ID: 1292328916.18176.4.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2010-12-14 12:22:16 Re: Instrument checkpoint sync calls
Previous Message Peter Eisentraut 2010-12-14 12:09:58 Re: hstores in pl/python