hstore improvements? - Mailing list pgsql-hackers

From Andrew Gierth
Subject hstore improvements?
Date
Msg-id 87hc1xi9gd.fsf@news-spur.riddles.org.uk
Whole thread Raw
Responses Re: hstore improvements?  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: hstore improvements?  ("David E. Wheeler" <david@kineticode.com>)
Re: hstore improvements?  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List pgsql-hackers
I have a patch almost done that adds some obvious but currently
missing functionality to hstore, specifically the ability to construct
an hstore from a record, and the ability to construct one from a pair
of arrays.

If there's any other features that people find notably missing from
hstore, I could stick them in too; any requests?

Also, hstore has an (undocumented) limit of 65535 bytes for keys and
values, and it does not behave very cleanly when given longer values
(it truncates them mod 2^16, rather than erroring). That gives rise to
two obvious questions: (1) are those lengths reasonable? they strike
me as being rather long for keys and rather short for values; and (2)
should exceeding the lengths throw an error?

-- 
Andrew (irc:RhodiumToad)


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Out parameters handling
Next
From: Alvaro Herrera
Date:
Subject: Re: hstore improvements?