Re: @> (contains)

2019-09-23 Thread Tom Lane
"David G. Johnston" writes: > On Sun, Aug 18, 2019 at 8:53 AM PG Doc comments form >> Noticed strange thin with @> >> Query "select '{1,2}'::int[] @> '{1,2,2,2,2,2,2,2}'::int[]" returns true, >> but first array contains even less elements then second. >> I think it's a bug in "contains" logic, bu

Re: @> (contains)

2019-08-18 Thread David G. Johnston
On Sun, Aug 18, 2019 at 8:53 AM PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/9.6/functions-array.html > Description: > > Hi. > Noticed strange thin with @> > Query "select '{1,2}'::int[] @> '{1,2,2,2,2,