Re: Reporting planning time with EXPLAIN
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Stephen Frost <sfrost@snowman.net>, Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>, Amit Kapila <amit.kapila16@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2016-12-28T15:35:09Z
Lists: pgsql-hackers
Tom Lane wrote: > How about just saying that the existing TIMING option turns this on, > if it's specified without ANALYZE? Right now that combination draws > an error: > > regression=# explain (timing on) select 1; > ERROR: EXPLAIN option TIMING requires ANALYZE > > so there's no existing usage that this would break. Sounds much more reasonable to me than SUMMARY. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Expose explain's SUMMARY option
- f9b1a0dd403e 10.0 landed
-
Print planning time only in EXPLAIN ANALYZE, not plain EXPLAIN.
- 90063a7612e2 9.5.0 cited