firtst release
修訂 | d84beebd39ddb29f0a6abec5868f9dd9f25a9944 (tree) |
---|---|
時間 | 2014-09-17 15:26:57 |
作者 | Kyotaro Horiguchi <horiguchi.kyotaro@lab....> |
Commiter | Kyotaro Horiguchi |
Stabilize regtest
@@ -1,18 +1,18 @@ | ||
1 | - QUERY PLAN | |
2 | ----------------------------------------------------------------------------- | |
3 | - Hash Join (cost=xxx rows=612 width=396) | |
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=612 width=202) | |
6 | - -> Hash (cost=xxx rows=612 width=202) | |
7 | - -> Seq Scan on pg_class t2 (cost=xxx rows=612 width=202) | |
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=396) | |
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=612 width=202) | |
15 | - -> Hash (cost=xxx rows=612 width=202) | |
16 | - -> Seq Scan on pg_class t2 (cost=xxx rows=612 width=202) | |
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 |
@@ -306,9 +306,11 @@ error hint: | ||
306 | 306 | \! diff expected/R_1-6-4.out results/R_1-6-4.out |
307 | 307 | -- No. R-1-6-5 |
308 | 308 | \o results/R_1-6-5.out.log |
309 | -EXPLAIN SELECT * FROM pg_catalog.pg_class t1, pg_catalog.pg_class t2 WHERE t1.oid = t2.oid; | |
309 | +CREATE TABLE tmpcl WITH OIDS AS SELECT * from pg_catalog.pg_class limit 100; | |
310 | +ANALYZE tmpcl; | |
311 | +EXPLAIN SELECT * FROM tmpcl t1, tmpcl t2 WHERE t1.oid = t2.oid; | |
310 | 312 | /*+Rows(t1 t2 #1)*/ |
311 | -EXPLAIN SELECT * FROM pg_catalog.pg_class t1, pg_catalog.pg_class t2 WHERE t1.oid = t2.oid; | |
313 | +EXPLAIN SELECT * FROM tmpcl t1, tmpcl t2 WHERE t1.oid = t2.oid; | |
312 | 314 | LOG: pg_hint_plan: |
313 | 315 | used hint: |
314 | 316 | Rows(t1 t2 #1) |
@@ -317,7 +319,7 @@ duplication hint: | ||
317 | 319 | error hint: |
318 | 320 | |
319 | 321 | \o |
320 | -\! sed 's/cost=[\.0-9]*/cost=xxx/' results/R_1-6-5.out.log > results/R_1-6-5.out | |
322 | +\! 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 | |
321 | 323 | \! diff expected/R_1-6-5.out results/R_1-6-5.out |
322 | 324 | -- No. R-1-6-6 |
323 | 325 | -- 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 |