@@ -93,28 +93,18 @@ EXPLAIN (COSTS OFF) SELECT * FROM test_bool WHERE i<=true ORDER BY i;
9393(9 rows)
9494
9595EXPLAIN (COSTS OFF) SELECT * FROM test_bool WHERE i=true ORDER BY i;
96- <<<<<<< HEAD
9796 QUERY PLAN
9897------------------------------------------
99- Gather Motion 3 :1 (slice1; segments: 3 )
98+ Gather Motion 1 :1 (slice1; segments: 1 )
10099 Merge Key: i
101100 -> Sort
102101 Sort Key: i
103- -> Seq Scan on test_bool
104- Filter: i
102+ -> Bitmap Heap Scan on test_bool
103+ Recheck Cond: i
104+ -> Bitmap Index Scan on idx_bool
105+ Index Cond: (i = true)
105106 Optimizer: Postgres query optimizer
106- (7 rows)
107- =======
108- QUERY PLAN
109- -------------------------------------------
110- Sort
111- Sort Key: i
112- -> Bitmap Heap Scan on test_bool
113- Recheck Cond: i
114- -> Bitmap Index Scan on idx_bool
115- Index Cond: (i = true)
116- (6 rows)
117- >>>>>>> REL_16_9
107+ (9 rows)
118108
119109EXPLAIN (COSTS OFF) SELECT * FROM test_bool WHERE i>=true ORDER BY i;
120110 QUERY PLAN
@@ -148,11 +138,14 @@ EXPLAIN (COSTS OFF) SELECT * FROM test_bool WHERE i>true ORDER BY i;
148138EXPLAIN (COSTS OFF) SELECT * FROM test_bool WHERE i=false ORDER BY i;
149139 QUERY PLAN
150140-------------------------------------------
151- Sort
152- Sort Key: i
153- -> Bitmap Heap Scan on test_bool
154- Recheck Cond: (NOT i)
155- -> Bitmap Index Scan on idx_bool
156- Index Cond: (i = false)
157- (6 rows)
141+ Gather Motion 1:1 (slice1; segments: 1)
142+ Merge Key: i
143+ -> Sort
144+ Sort Key: i
145+ -> Bitmap Heap Scan on test_bool
146+ Recheck Cond: (NOT i)
147+ -> Bitmap Index Scan on idx_bool
148+ Index Cond: (i = false)
149+ Optimizer: Postgres query optimizer
150+ (9 rows)
158151
0 commit comments