postgresql/src
Tom Lane 4b234fd8bf 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>
2016-08-12 12:13:04 -04:00
..
backend Fix inappropriate printing of never-measured times in EXPLAIN. 2016-08-12 12:13:04 -04:00
bin Translation updates 2016-08-08 11:08:00 -04:00
common
fe_utils Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:46 -04:00
include Stamp 9.6beta4. 2016-08-08 16:25:04 -04:00
interfaces Translation updates 2016-08-08 11:08:00 -04:00
makefiles
pl Translation updates 2016-08-08 11:08:00 -04:00
port Promote pg_dumpall shell/connstr quoting functions to src/fe_utils. 2016-08-08 10:07:46 -04:00
template
test Fix busted Assert for CREATE MATVIEW ... WITH NO DATA. 2016-08-11 11:22:25 -04:00
timezone Update time zone data files to tzdata release 2016f. 2016-08-05 12:59:29 -04:00
tools Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:46 -04:00
tutorial
.gitignore
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in
Makefile.shlib
nls-global.mk
win32.mak