firtst release
Revision | ed6890a147993c53e54db185840771d20137b96b (tree) |
---|---|
Time | 2014-09-18 11:41:03 |
Author | Kyotaro Horiguchi <horiguchi.kyotaro@lab....> |
Commiter | Kyotaro Horiguchi |
Stabilize regtest
@@ -1,18 +1,18 @@ | ||
1 | - QUERY PLAN | |
2 | ----------------------------------------------------------------------------- | |
3 | - Hash Join (cost=xxx rows=620 width=406) | |
1 | + QUERY PLAN | |
2 | +------------------------------------------------------------------------ | |
3 | + Hash Join (cost=xxx rows=100 width=xxx) | |
4 | 4 | Hash Cond: (t1.oid = t2.oid) |
5 | - -> Seq Scan on pg_class t1 (cost=xxx rows=620 width=207) | |
6 | - -> Hash (cost=xxx rows=620 width=207) | |
7 | - -> Seq Scan on pg_class t2 (cost=xxx rows=620 width=207) | |
5 | + -> Seq Scan on tmpcl t1 (cost=xxx rows=100 width=xxx) | |
6 | + -> Hash (cost=xxx rows=100 width=xxx) | |
7 | + -> Seq Scan on tmpcl t2 (cost=xxx rows=100 width=xxx) | |
8 | 8 | (5 rows) |
9 | 9 | |
10 | - QUERY PLAN | |
11 | ----------------------------------------------------------------------------- | |
12 | - Hash Join (cost=xxx rows=1 width=406) | |
10 | + QUERY PLAN | |
11 | +------------------------------------------------------------------------ | |
12 | + Hash Join (cost=xxx rows=1 width=xxx) | |
13 | 13 | Hash Cond: (t1.oid = t2.oid) |
14 | - -> Seq Scan on pg_class t1 (cost=xxx rows=620 width=207) | |
15 | - -> Hash (cost=xxx rows=620 width=207) | |
16 | - -> Seq Scan on pg_class t2 (cost=xxx rows=620 width=207) | |
14 | + -> Seq Scan on tmpcl t1 (cost=xxx rows=100 width=xxx) | |
15 | + -> Hash (cost=xxx rows=100 width=xxx) | |
16 | + -> Seq Scan on tmpcl t2 (cost=xxx rows=100 width=xxx) | |
17 | 17 | (5 rows) |
18 | 18 |
@@ -305,9 +305,11 @@ error hint: | ||
305 | 305 | \! diff expected/R_1-6-4.out results/R_1-6-4.out |
306 | 306 | -- No. R-1-6-5 |
307 | 307 | \o results/R_1-6-5.out.log |
308 | -EXPLAIN SELECT * FROM pg_catalog.pg_class t1, pg_catalog.pg_class t2 WHERE t1.oid = t2.oid; | |
308 | +CREATE TABLE tmpcl WITH OIDS AS SELECT * from pg_catalog.pg_class LIMIT 100; | |
309 | +ANALYZE tmpcl; | |
310 | +EXPLAIN SELECT * FROM tmpcl t1, tmpcl t2 WHERE t1.oid = t2.oid; | |
309 | 311 | /*+Rows(t1 t2 #1)*/ |
310 | -EXPLAIN SELECT * FROM pg_catalog.pg_class t1, pg_catalog.pg_class t2 WHERE t1.oid = t2.oid; | |
312 | +EXPLAIN SELECT * FROM tmpcl t1, tmpcl t2 WHERE t1.oid = t2.oid; | |
311 | 313 | LOG: pg_hint_plan: |
312 | 314 | used hint: |
313 | 315 | Rows(t1 t2 #1) |
@@ -316,7 +318,7 @@ duplication hint: | ||
316 | 318 | error hint: |
317 | 319 | |
318 | 320 | \o |
319 | -\! sed 's/cost=[\.0-9]*/cost=xxx/' results/R_1-6-5.out.log > results/R_1-6-5.out | |
321 | +\! sed -e 's/cost=[\.0-9]*/cost=xxx/' -e 's/width=[0-9]*/width=xxx/' results/R_1-6-5.out.log > results/R_1-6-5.out | |
320 | 322 | \! diff expected/R_1-6-5.out results/R_1-6-5.out |
321 | 323 | -- No. R-1-6-6 |
322 | 324 | -- refer ut-fdw.sql |
@@ -190,11 +190,13 @@ EXPLAIN SELECT * FROM tm1 t1, tm1 t2 WHERE t1.c1 = t2.c1; | ||
190 | 190 | |
191 | 191 | -- No. R-1-6-5 |
192 | 192 | \o results/R_1-6-5.out.log |
193 | -EXPLAIN SELECT * FROM pg_catalog.pg_class t1, pg_catalog.pg_class t2 WHERE t1.oid = t2.oid; | |
193 | +CREATE TABLE tmpcl WITH OIDS AS SELECT * from pg_catalog.pg_class LIMIT 100; | |
194 | +ANALYZE tmpcl; | |
195 | +EXPLAIN SELECT * FROM tmpcl t1, tmpcl t2 WHERE t1.oid = t2.oid; | |
194 | 196 | /*+Rows(t1 t2 #1)*/ |
195 | -EXPLAIN SELECT * FROM pg_catalog.pg_class t1, pg_catalog.pg_class t2 WHERE t1.oid = t2.oid; | |
197 | +EXPLAIN SELECT * FROM tmpcl t1, tmpcl t2 WHERE t1.oid = t2.oid; | |
196 | 198 | \o |
197 | -\! sed 's/cost=[\.0-9]*/cost=xxx/' results/R_1-6-5.out.log > results/R_1-6-5.out | |
199 | +\! sed -e 's/cost=[\.0-9]*/cost=xxx/' -e 's/width=[0-9]*/width=xxx/' results/R_1-6-5.out.log > results/R_1-6-5.out | |
198 | 200 | \! diff expected/R_1-6-5.out results/R_1-6-5.out |
199 | 201 | |
200 | 202 | -- No. R-1-6-6 |