File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1099,7 +1099,7 @@ select count(*) from test_jsquery where v @@ 'product_group = false';
1099
1099
1
1100
1100
(1 row)
1101
1101
1102
- create index t_idx on test_jsquery using gin (v jsonb_bloom_value_ops );
1102
+ create index t_idx on test_jsquery using gin (v jsonb_value_path_ops );
1103
1103
set enable_seqscan = off;
1104
1104
explain (costs off) select count(*) from test_jsquery where v @@ 'review_helpful_votes > 0';
1105
1105
QUERY PLAN
@@ -1209,7 +1209,7 @@ select count(*) from test_jsquery where v @@ 'product_group = false';
1209
1209
(1 row)
1210
1210
1211
1211
drop index t_idx;
1212
- create index t_idx on test_jsquery using gin (v jsonb_hash_value_ops );
1212
+ create index t_idx on test_jsquery using gin (v jsonb_path_value_ops );
1213
1213
set enable_seqscan = off;
1214
1214
explain (costs off) select count(*) from test_jsquery where v @@ 'review_helpful_votes > 0';
1215
1215
QUERY PLAN
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ select count(*) from test_jsquery where v @@ 'customer_id = null';
223
223
select count (* ) from test_jsquery where v @@ ' review_votes = true' ;
224
224
select count (* ) from test_jsquery where v @@ ' product_group = false' ;
225
225
226
- create index t_idx on test_jsquery using gin (v jsonb_bloom_value_ops );
226
+ create index t_idx on test_jsquery using gin (v jsonb_value_path_ops );
227
227
set enable_seqscan = off;
228
228
229
229
explain (costs off) select count (* ) from test_jsquery where v @@ ' review_helpful_votes > 0' ;
@@ -248,7 +248,7 @@ select count(*) from test_jsquery where v @@ 'product_group = false';
248
248
249
249
drop index t_idx;
250
250
251
- create index t_idx on test_jsquery using gin (v jsonb_hash_value_ops );
251
+ create index t_idx on test_jsquery using gin (v jsonb_path_value_ops );
252
252
set enable_seqscan = off;
253
253
254
254
explain (costs off) select count (* ) from test_jsquery where v @@ ' review_helpful_votes > 0' ;
You can’t perform that action at this time.
0 commit comments