Also, add some cross-links to the indexing documentation, so it's easier
to notice that && and other array operators have index support.
Ryan Kelly, edited by me.
This function is described in .
+ You can also search an array using the &&> operator,
+ which checks whether the left operand overlaps with the right operand.
+ For instance:
+
+SELECT * FROM sal_emp WHERE pay_by_quarter && ARRAY[10000];
+
+
+ This and other array operators are further described in
+ . It can be accelerated by an appropriate
+ index, as described in .
+
+
Arrays are not sets; searching for specific array elements
See for more details about array operator
- behavior.
+ behavior. See for more details about
+ which operators support indexed operations.