@@ -25,8 +25,7 @@ $$ LANGUAGE PLPGSQL;
25
25
-- in the next queries with the same fss_hash
26
26
SELECT str AS result
27
27
FROM expln('
28
- SELECT x FROM A where x = 5;') AS str
29
- WHERE str NOT LIKE 'Query Identifier%';
28
+ SELECT x FROM A where x = 5;') AS str;
30
29
result
31
30
------------------------------------------------
32
31
Seq Scan on public.a (actual rows=100 loops=1)
@@ -42,7 +41,6 @@ WHERE str NOT LIKE 'Query Identifier%';
42
41
SELECT str AS result
43
42
FROM expln('
44
43
SELECT x FROM A,B WHERE x = 5 AND A.x = B.y;') AS str
45
- WHERE str NOT LIKE 'Query Identifier%'
46
44
; -- Find cardinality for SCAN A(x=5) from a neighbour class, created by the
47
45
result
48
46
--------------------------------------------------------
@@ -68,7 +66,6 @@ WHERE str NOT LIKE 'Query Identifier%'
68
66
SELECT str AS result
69
67
FROM expln('
70
68
SELECT x, sum(x) FROM A,B WHERE y = 5 AND A.x = B.y group by(x);') AS str
71
- WHERE str NOT LIKE 'Query Identifier%'
72
69
; -- Find the JOIN cardinality from a neighbour class.
73
70
result
74
71
--------------------------------------------------------------
@@ -97,8 +94,7 @@ WHERE str NOT LIKE 'Query Identifier%'
97
94
-- cardinality 100 in the first Seq Scan on a
98
95
SELECT str AS result
99
96
FROM expln('
100
- SELECT x, sum(x) FROM A WHERE x = 5 group by(x);') AS str
101
- WHERE str NOT LIKE 'Query Identifier%';
97
+ SELECT x, sum(x) FROM A WHERE x = 5 group by(x);') AS str;
102
98
result
103
99
------------------------------------------------------
104
100
GroupAggregate (actual rows=1 loops=1)
@@ -120,7 +116,7 @@ WHERE str NOT LIKE 'Query Identifier%';
120
116
SELECT str AS result
121
117
FROM expln('
122
118
SELECT x FROM A where x < 10 group by(x);') AS str
123
- WHERE str NOT LIKE 'Query Identifier%' and str NOT LIKE ' %Memory%';
119
+ WHERE str NOT LIKE '%Memory%';
124
120
result
125
121
-------------------------------------------------------
126
122
HashAggregate (actual rows=10 loops=1)
@@ -140,7 +136,7 @@ WHERE str NOT LIKE 'Query Identifier%' and str NOT LIKE '%Memory%';
140
136
SELECT str AS result
141
137
FROM expln('
142
138
SELECT x,y FROM A,B WHERE x < 10 AND A.x = B.y;') AS str
143
- WHERE str NOT LIKE 'Query Identifier%' and str NOT LIKE ' %Memory%';
139
+ WHERE str NOT LIKE '%Memory%';
144
140
result
145
141
-------------------------------------------------------------
146
142
Merge Join (actual rows=100000 loops=1)
@@ -169,7 +165,7 @@ WHERE str NOT LIKE 'Query Identifier%' and str NOT LIKE '%Memory%';
169
165
SELECT str AS result
170
166
FROM expln('
171
167
SELECT x FROM A,B where x < 10 and y > 10 group by(x);') AS str
172
- WHERE str NOT LIKE 'Query Identifier%' and str NOT LIKE ' %Memory%';
168
+ WHERE str NOT LIKE '%Memory%';
173
169
result
174
170
----------------------------------------------------------
175
171
HashAggregate (actual rows=0 loops=1)
@@ -200,7 +196,7 @@ WHERE str NOT LIKE 'Query Identifier%' and str NOT LIKE '%Memory%';
200
196
SELECT str AS result
201
197
FROM expln('
202
198
SELECT x,y FROM A,B WHERE x < 10 and y > 10 AND A.x = B.y;') AS str
203
- WHERE str NOT LIKE 'Query Identifier%' and str NOT LIKE ' %Memory%'
199
+ WHERE str NOT LIKE '%Memory%'
204
200
;
205
201
result
206
202
----------------------------------------------------------
0 commit comments