mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Add selectivity estimation functions for intarray operators.
Uriy Zhuravlev and Alexander Korotkov, reviewed by Jeff Janes, some cleanup by me.
This commit is contained in:
@ -68,8 +68,8 @@ SELECT '1&(2&(4&(5|!6)))'::query_int;
|
||||
|
||||
|
||||
CREATE TABLE test__int( a int[] );
|
||||
|
||||
\copy test__int from 'data/test__int.data'
|
||||
ANALYZE test__int;
|
||||
|
||||
SELECT count(*) from test__int WHERE a && '{23,50}';
|
||||
SELECT count(*) from test__int WHERE a @@ '23|50';
|
||||
|
Reference in New Issue
Block a user