pgsql: Fix failure of contrib/auto_explain to print per-node timing inf - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix failure of contrib/auto_explain to print per-node timing inf
Date
Msg-id E1XV1qK-0005F9-V0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix failure of contrib/auto_explain to print per-node timing information.

This has been broken since commit af7914c6627bcf0b0ca614e9ce95d3f8056602bf,
which added the EXPLAIN (TIMING) option.  Although that commit included
updates to auto_explain, they evidently weren't tested very carefully,
because the code failed to print node timings even when it should, due to
failure to set es.timing in the ExplainState struct.  Reported off-list by
Neelakanth Nadgir of Salesforce.

In passing, clean up the documentation for auto_explain's options a
little bit, including re-ordering them into what seems to me a more
logical order.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5ff8c2d7d60d0084f577a920c9d614221bde283a

Modified Files
--------------
contrib/auto_explain/auto_explain.c |    5 +--
doc/src/sgml/auto-explain.sgml      |   72 ++++++++++++++++++++---------------
2 files changed, 43 insertions(+), 34 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: doc: Use and all-caps for READ COMMITTED isolation lev
Next
From: Tom Lane
Date:
Subject: pgsql: Fix failure of contrib/auto_explain to print per-node timing inf