From 2d6cb170d4c5939950e8c25e08f554bdfd6050e4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 14 Sep 2007 03:25:31 +0000 Subject: Remove ill-considered (not to mention undocumented) attempt to make contrib/intarray's GIN opclass override the built-in default. Per bug #3048 and other complaints. --- contrib/intarray/sql/_int.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/intarray/sql') diff --git a/contrib/intarray/sql/_int.sql b/contrib/intarray/sql/_int.sql index 481754057e4..1588e3b5145 100644 --- a/contrib/intarray/sql/_int.sql +++ b/contrib/intarray/sql/_int.sql @@ -111,7 +111,7 @@ SELECT count(*) from test__int WHERE a @> '{20,23}' or a @> '{50,68}'; SELECT count(*) from test__int WHERE a @@ '(20&23)|(50&68)'; DROP INDEX text_idx; -CREATE INDEX text_idx on test__int using gin ( a ); +CREATE INDEX text_idx on test__int using gin ( a gin__int_ops ); SELECT count(*) from test__int WHERE a && '{23,50}'; SELECT count(*) from test__int WHERE a @@ '23|50'; -- cgit v1.2.3