Re: intarray GiST index gets wrong answers for '{}' <@ anything
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-08-06T18:42:46Z
Lists: pgsql-hackers
Alexander Korotkov <a.korotkov@postgrespro.ru> writes: > Users, who likes existing behavior of handling <@ operator in intarray > opclasses, may be advised to rewrite their queries as following. > "col <@ const" => "col <@ const AND col && const" Oh, that's a good suggestion --- it will work, and work reasonably well, with either unpatched or patched intarray code; and also with some future version that doesn't consider <@ indexable at all. regards, tom lane
Commits
-
Remove <@ from contrib/intarray's GiST operator classes.
- 20e7e1fe3164 14.0 landed
-
Fix intarray's GiST opclasses to not fail for empty arrays with <@.
- ced272d2de7e 9.5.20 landed
- 614119d00306 9.4.25 landed
- efc77cf5f1de 13.0 landed
- e519eded6530 9.6.16 landed
- 5b3e6c13f753 10.11 landed
- 2f76f4182935 12.0 landed
- 113b3d903b34 11.6 landed