Re: jsonb and nested hstore

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: jsonb and nested hstore
Дата
Msg-id CAM3SWZQwE97S-U5FTjqvnk0nYnHHOa2GieT0h0s7u8x7+gNAxw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: jsonb and nested hstore  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: jsonb and nested hstore  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
On Tue, Mar 4, 2014 at 2:07 AM, Teodor Sigaev <teodor@sigaev.ru> wrote:
> No, type of this storage describes type of keys. For gin_hstore_ops each key
> and each value will be stored as a text value. The root of problem is a
> JavaScript or/and our numeric type. In JavaScript (which was a base for json
> type) you need explicitly point type of compare to prevent unpredictable
> result.

That's what I meant, I think. But I'm not sure what you mean:

Native Chrome JavaScript.
Copyright (c) 2013 Google Inc  25 == 25
=> true  25 == 25.0
=> true


-- 
Peter Geoghegan



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: jsonb and nested hstore
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: jsonb and nested hstore