@> (contains)

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: php(dot)pl(dot)prices(at)gmail(dot)com
Subject: @> (contains)
Date: 2019-08-18 15:13:24
Message-ID: 156614120484.1310.310161642239149585@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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,2,2,2}'::int[]" returns true,
but first array contains even less elements then second.
I think it's a bug in "contains" logic, but don't know where to submit it.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2019-08-18 16:19:58 Re: @> (contains)
Previous Message Erik Rijkers 2019-08-17 04:38:05 Re: readability changes to postgres.sgml