pgsql: Fix inappropriate printing of never-measured times in EXPLAIN.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. |
| Дата | |
| Msg-id | E1bYF5H-0001oR-RZ@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Fix inappropriate printing of never-measured times in EXPLAIN. EXPLAIN (ANALYZE, TIMING OFF) would print an elapsed time of zero for a trigger function, because no measurement has been taken but it printed the field anyway. This isn't what EXPLAIN does elsewhere, so suppress it. In the same vein, EXPLAIN (ANALYZE, BUFFERS) with non-text output format would print buffer I/O timing numbers even when no measurement has been taken because track_io_timing is off. That seems not per policy, either, so change it. Back-patch to 9.2 where these features were introduced. Maksim Milyutin Discussion: <081c0540-ecaa-bd29-3fd2-6358f3b359a9@postgrespro.ru> Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/ceb005319ac36fe28e252b13d24de6cb857d5943 Modified Files -------------- src/backend/commands/explain.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера