Re: jsonb and nested hstore - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: jsonb and nested hstore
Date
Msg-id 5315CBB0.6000708@sigaev.ru
Whole thread Raw
In response to Re: jsonb and nested hstore  (Peter Geoghegan <pg@heroku.com>)
Responses Re: jsonb and nested hstore  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
> On Tue, Mar 4, 2014 at 2:44 AM, Teodor Sigaev <teodor@sigaev.ru> wrote:
>> Do we have function to trim right zeros  in numeric?

Fixed, pushed to github 
(https://github.com/feodor/postgres/tree/jsonb_and_hstore). Now it used 
hash_numeric to index numeric value. As I can see, it provides needed trim and 
doesn't depend on locale. Possible mismatch (the same hash value for different 
numeric valye) will rechecked anyway - interested operations set recheck flag.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: patch: option --if-exists for pg_dump
Next
From: Atri Sharma
Date:
Subject: Re: ALTER TABLE lock strength reduction patch is unsafe