pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. @ 2016-08-12 16:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-08-12 16:13 UTC (permalink / raw) To: 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 ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4b234fd8bf21cd6f5ff44f1f1c613bf40860998d Modified Files -------------- src/backend/commands/explain.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. @ 2016-08-12 16:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-08-12 16:13 UTC (permalink / raw) To: 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_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/ed2d7b8c8ce53648a0ef1c3fc5e99bd69b17dfca Modified Files -------------- src/backend/commands/explain.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. @ 2016-08-12 16:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-08-12 16:13 UTC (permalink / raw) To: 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_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/85974b468a17614b4654fc7dc12a42b17cc2fda7 Modified Files -------------- src/backend/commands/explain.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. @ 2016-08-12 16:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-08-12 16:13 UTC (permalink / raw) To: 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_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/16cc6d23b8d012edb92b3b4b5fccf5200127887c Modified Files -------------- src/backend/commands/explain.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. @ 2016-08-12 16:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-08-12 16:13 UTC (permalink / raw) To: 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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2016-08-12 16:13 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-08-12 16:13 pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. Tom Lane <tgl@sss.pgh.pa.us> 2016-08-12 16:13 pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. Tom Lane <tgl@sss.pgh.pa.us> 2016-08-12 16:13 pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. Tom Lane <tgl@sss.pgh.pa.us> 2016-08-12 16:13 pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. Tom Lane <tgl@sss.pgh.pa.us> 2016-08-12 16:13 pgsql: Fix inappropriate printing of never-measured times in EXPLAIN. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox