Re: jsonb and nested hstore

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: Peter Geoghegan <pg(at)heroku(dot)com>, Oleg Bartunov <obartunov(at)gmail(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: jsonb and nested hstore
Date: 2014-03-04 13:49:57
Message-ID: CAHyXU0ygaCrWNoc6WKVix6ZZvqr=RmdeMbH5_vMpM_ZW+jk5jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 4, 2014 at 6:48 AM, Teodor Sigaev <teodor(at)sigaev(dot)ru> wrote:
>> On Tue, Mar 4, 2014 at 2:44 AM, Teodor Sigaev <teodor(at)sigaev(dot)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.

huh. what it is the standard for equivalence? I guess we'd be
following javascript ===, right?
(http://dorey.github.io/JavaScript-Equality-Table/).

merlin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2014-03-04 13:59:39 Re: ALTER TABLE lock strength reduction patch is unsafe
Previous Message Heikki Linnakangas 2014-03-04 13:44:58 Re: walsender can ignore send failures in WalSndLoop