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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix failure of contrib/auto_explain to print per-node timing inf
Дата
Msg-id E1XV1qK-0005F3-Ug@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/898f8a96ef9dfa79eac9ec1621a89e71fe16601c

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix failure of contrib/auto_explain to print per-node timing inf
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix failure of contrib/auto_explain to print per-node timing inf