mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Update contrib intarray to Jan 25 version.
This commit is contained in:
@ -13,3 +13,14 @@ CREATE TABLE test__int( a int[] );
|
||||
SELECT count(*) from test__int WHERE a && '{23,50}';
|
||||
SELECT count(*) from test__int WHERE a @ '{23,50}';
|
||||
|
||||
CREATE INDEX text_idx on test__int using gist ( a gist__int_ops ) with ( islossy );
|
||||
|
||||
SELECT count(*) from test__int WHERE a && '{23,50}';
|
||||
SELECT count(*) from test__int WHERE a @ '{23,50}';
|
||||
|
||||
drop index text_idx;
|
||||
CREATE INDEX text_idx on test__int using gist ( a gist__intbig_ops ) with ( islossy );
|
||||
|
||||
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