1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Clarify documentation of EXPLAIN (TIMING OFF) option.

Clarify that this option doesn't suppress measurement of the statement's
total runtime.

Greg Smith
This commit is contained in:
Tom Lane
2013-05-19 22:03:32 -04:00
parent d4337a0dcb
commit 2af0971f35
2 changed files with 9 additions and 3 deletions

View File

@ -414,6 +414,10 @@ ExplainOnePlan(PlannedStmt *plannedstmt, IntoClause *into, ExplainState *es,
if (es->buffers)
instrument_option |= INSTRUMENT_BUFFERS;
/*
* We always collect timing for the entire statement, even when
* node-level timing is off, so we don't look at es->timing here.
*/
INSTR_TIME_SET_CURRENT(starttime);
/*