(3 rows)
-- ... unless there's context to suggest differently
-explain verbose select '42' union all select '43';
- QUERY PLAN
--------------------------------------------------
- Append (cost=0.00..0.05 rows=2 width=32)
- -> Result (cost=0.00..0.01 rows=1 width=32)
+explain (verbose, costs off) select '42' union all select '43';
+ QUERY PLAN
+----------------------------
+ Append
+ -> Result
Output: '42'::text
- -> Result (cost=0.00..0.01 rows=1 width=32)
+ -> Result
Output: '43'::text
(5 rows)
-explain verbose select '42' union all select 43;
- QUERY PLAN
-------------------------------------------------
- Append (cost=0.00..0.05 rows=2 width=4)
- -> Result (cost=0.00..0.01 rows=1 width=4)
+explain (verbose, costs off) select '42' union all select 43;
+ QUERY PLAN
+--------------------
+ Append
+ -> Result
Output: 42
- -> Result (cost=0.00..0.01 rows=1 width=4)
+ -> Result
Output: 43
(5 rows)
-- ... unless there's context to suggest differently
-explain verbose select '42' union all select '43';
-explain verbose select '42' union all select 43;
+explain (verbose, costs off) select '42' union all select '43';
+explain (verbose, costs off) select '42' union all select 43;
-- check materialization of an initplan reference (bug #14524)
explain (verbose, costs off)