diff options
Diffstat (limited to 'src/test/regress/expected/inherit.out')
| -rw-r--r-- | src/test/regress/expected/inherit.out | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/src/test/regress/expected/inherit.out b/src/test/regress/expected/inherit.out index 25adcd23461..906a928b0c0 100644 --- a/src/test/regress/expected/inherit.out +++ b/src/test/regress/expected/inherit.out @@ -1105,17 +1105,17 @@ analyze patest1; analyze patest2; explain (costs off) select * from patest0 join (select f1 from int4_tbl limit 1) ss on id = f1; - QUERY PLAN ----------------------------------------------------------- + QUERY PLAN +-------------------------------------------------- Nested Loop -> Limit -> Seq Scan on int4_tbl -> Append -> Index Scan using patest0i on patest0 Index Cond: (id = int4_tbl.f1) - -> Index Scan using patest1i on patest1 patest0 + -> Index Scan using patest1i on patest1 Index Cond: (id = int4_tbl.f1) - -> Index Scan using patest2i on patest2 patest0 + -> Index Scan using patest2i on patest2 Index Cond: (id = int4_tbl.f1) (10 rows) @@ -1130,17 +1130,17 @@ select * from patest0 join (select f1 from int4_tbl limit 1) ss on id = f1; drop index patest2i; explain (costs off) select * from patest0 join (select f1 from int4_tbl limit 1) ss on id = f1; - QUERY PLAN ----------------------------------------------------------- + QUERY PLAN +-------------------------------------------------- Nested Loop -> Limit -> Seq Scan on int4_tbl -> Append -> Index Scan using patest0i on patest0 Index Cond: (id = int4_tbl.f1) - -> Index Scan using patest1i on patest1 patest0 + -> Index Scan using patest1i on patest1 Index Cond: (id = int4_tbl.f1) - -> Seq Scan on patest2 patest0 + -> Seq Scan on patest2 Filter: (int4_tbl.f1 = id) (10 rows) @@ -1178,22 +1178,22 @@ insert into matest3 (name) values ('Test 5'); insert into matest3 (name) values ('Test 6'); set enable_indexscan = off; -- force use of seqscan/sort, so no merge explain (verbose, costs off) select * from matest0 order by 1-id; - QUERY PLAN ---------------------------------------------------------------------------------- + QUERY PLAN +------------------------------------------------------------ Sort - Output: public.matest0.id, public.matest0.name, ((1 - public.matest0.id)) - Sort Key: ((1 - public.matest0.id)) + Output: matest0.id, matest0.name, ((1 - matest0.id)) + Sort Key: ((1 - matest0.id)) -> Result - Output: public.matest0.id, public.matest0.name, (1 - public.matest0.id) + Output: matest0.id, matest0.name, (1 - matest0.id) -> Append -> Seq Scan on public.matest0 - Output: public.matest0.id, public.matest0.name - -> Seq Scan on public.matest1 matest0 - Output: public.matest0.id, public.matest0.name - -> Seq Scan on public.matest2 matest0 - Output: public.matest0.id, public.matest0.name - -> Seq Scan on public.matest3 matest0 - Output: public.matest0.id, public.matest0.name + Output: matest0.id, matest0.name + -> Seq Scan on public.matest1 + Output: matest1.id, matest1.name + -> Seq Scan on public.matest2 + Output: matest2.id, matest2.name + -> Seq Scan on public.matest3 + Output: matest3.id, matest3.name (14 rows) select * from matest0 order by 1-id; @@ -1210,23 +1210,23 @@ select * from matest0 order by 1-id; reset enable_indexscan; set enable_seqscan = off; -- plan with fewest seqscans should be merge explain (verbose, costs off) select * from matest0 order by 1-id; - QUERY PLAN ---------------------------------------------------------------------------------------------- + QUERY PLAN +------------------------------------------------------------------------ Result - Output: public.matest0.id, public.matest0.name, ((1 - public.matest0.id)) + Output: matest0.id, matest0.name, ((1 - matest0.id)) -> Merge Append - Sort Key: ((1 - public.matest0.id)) + Sort Key: ((1 - matest0.id)) -> Index Scan using matest0i on public.matest0 - Output: public.matest0.id, public.matest0.name, (1 - public.matest0.id) - -> Index Scan using matest1i on public.matest1 matest0 - Output: public.matest0.id, public.matest0.name, (1 - public.matest0.id) + Output: matest0.id, matest0.name, (1 - matest0.id) + -> Index Scan using matest1i on public.matest1 + Output: matest1.id, matest1.name, (1 - matest1.id) -> Sort - Output: public.matest0.id, public.matest0.name, ((1 - public.matest0.id)) - Sort Key: ((1 - public.matest0.id)) - -> Seq Scan on public.matest2 matest0 - Output: public.matest0.id, public.matest0.name, (1 - public.matest0.id) - -> Index Scan using matest3i on public.matest3 matest0 - Output: public.matest0.id, public.matest0.name, (1 - public.matest0.id) + Output: matest2.id, matest2.name, ((1 - matest2.id)) + Sort Key: ((1 - matest2.id)) + -> Seq Scan on public.matest2 + Output: matest2.id, matest2.name, (1 - matest2.id) + -> Index Scan using matest3i on public.matest3 + Output: matest3.id, matest3.name, (1 - matest3.id) (15 rows) select * from matest0 order by 1-id; @@ -1258,15 +1258,15 @@ SELECT thousand, tenthous FROM tenk1 UNION ALL SELECT thousand, thousand FROM tenk1 ORDER BY thousand, tenthous; - QUERY PLAN ------------------------------------------------------------------------ + QUERY PLAN +------------------------------------------------------------------------------- Result -> Merge Append - Sort Key: public.tenk1.thousand, public.tenk1.tenthous + Sort Key: tenk1.thousand, tenk1.tenthous -> Index Only Scan using tenk1_thous_tenthous on tenk1 -> Sort - Sort Key: public.tenk1.thousand, public.tenk1.thousand - -> Index Only Scan using tenk1_thous_tenthous on tenk1 + Sort Key: tenk1_1.thousand, tenk1_1.thousand + -> Index Only Scan using tenk1_thous_tenthous on tenk1 tenk1_1 (7 rows) explain (costs off) @@ -1274,15 +1274,15 @@ SELECT thousand, tenthous, thousand+tenthous AS x FROM tenk1 UNION ALL SELECT 42, 42, hundred FROM tenk1 ORDER BY thousand, tenthous; - QUERY PLAN ------------------------------------------------------------------ + QUERY PLAN +------------------------------------------------------------------------ Result -> Merge Append - Sort Key: public.tenk1.thousand, public.tenk1.tenthous + Sort Key: tenk1.thousand, tenk1.tenthous -> Index Only Scan using tenk1_thous_tenthous on tenk1 -> Sort Sort Key: (42), (42) - -> Index Only Scan using tenk1_hundred on tenk1 + -> Index Only Scan using tenk1_hundred on tenk1 tenk1_1 (7 rows) explain (costs off) @@ -1290,15 +1290,15 @@ SELECT thousand, tenthous FROM tenk1 UNION ALL SELECT thousand, random()::integer FROM tenk1 ORDER BY thousand, tenthous; - QUERY PLAN ------------------------------------------------------------------------ + QUERY PLAN +------------------------------------------------------------------------------- Result -> Merge Append - Sort Key: public.tenk1.thousand, public.tenk1.tenthous + Sort Key: tenk1.thousand, tenk1.tenthous -> Index Only Scan using tenk1_thous_tenthous on tenk1 -> Sort - Sort Key: public.tenk1.thousand, ((random())::integer) - -> Index Only Scan using tenk1_thous_tenthous on tenk1 + Sort Key: tenk1_1.thousand, ((random())::integer) + -> Index Only Scan using tenk1_thous_tenthous on tenk1 tenk1_1 (7 rows) -- Check min/max aggregate optimization |
