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