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

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

merlin


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to