Re: jsonb contains behaviour weirdness

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: jsonb contains behaviour weirdness
Дата
Msg-id 54171D0C.8070802@agliodbs.com
обсуждение исходный текст
Ответ на jsonb contains behaviour weirdness  (Alexander Korotkov <aekorotkov@gmail.com>)
Ответы Re: jsonb contains behaviour weirdness  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 09/12/2014 01:33 PM, Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
>> However, this better become a FAQ item, because it's not necessarily the
>> behavior that folks used to JSON but not Postgres will expect.
> 
> No, it's a bug, not a documentation deficiency.

Hmmm?  Are you proposing that we should change how ARRAY @> ARRAY works
for non-JSON data?

Or are you proposing that JSONARRAY @> JSONARRAY should work differently
from ARRAY @> ARRAY?

Or are you agreeing with Peter that it's the first case that's a bug,
and the 2nd two tests are correct, and just being unclear?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pgbench throttling latency limit
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: jsonb format is pessimal for toast compression