Re: hstores in pl/python - Mailing list pgsql-hackers

From Tom Lane
Subject Re: hstores in pl/python
Date
Msg-id 14980.1292346763@sss.pgh.pa.us
Whole thread Raw
In response to Re: hstores in pl/python  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: hstores in pl/python  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: hstores in pl/python  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Dec 14, 2010 at 11:51 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> If the element values all have to be the same type, you've
>> basically got hstore.

> Not exactly, because in hstore all the element values have to be,
> specifically, text.  Having hstores of other kinds of objects would,
> presumably, be useful.

Maybe, but I'm sure they'd have far less application than hstore.
There's a reason why that's based on text and not some other type ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Complier warnings on mingw gcc 4.5.0
Next
From: Andrew Dunstan
Date:
Subject: Re: hstores in pl/python