summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-08-12 12:13:04 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-08-12 12:13:04 -0400
commit4b234fd8bf21cd6f5ff44f1f1c613bf40860998d (patch)
treed303ccfc456cc672e0eac6467856a86a8440da14 /src/backend/access/gist/gistvalidate.c
parente05f6f75dbe00a7349dccf1116b5ed983b4728c0 (diff)
downloadpostgresql-4b234fd8bf21cd6f5ff44f1f1c613bf40860998d.tar.gz
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>
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions