postgresql/src/test/regress
Stephen Frost f9b1a0dd40 Expose explain's SUMMARY option
This exposes the existing explain summary option to users to allow them
to choose if they wish to have the planning time and totalled run time
included in the EXPLAIN result.  The existing default behavior is
retained if SUMMARY is not specified- running explain without analyze
will not print the summary lines (just the planning time, currently)
while running explain with analyze will include the summary lines (both
the planning time and the totalled execution time).

Users who wish to see the summary information for plain explain can now
use: EXPLAIN (SUMMARY ON) query;  Users who do not want to have the
summary printed for an analyze run can use:
EXPLAIN (ANALYZE ON, SUMMARY OFF) query;

With this, we can now also have EXPLAIN ANALYZE queries included in our
regression tests by using:
EXPLAIN (ANALYZE ON, TIMING OFF, SUMMARY off) query;

I went ahead and added an example of this, which will hopefully not make
the buildfarm complain.

Author: Ashutosh Bapat
Discussion: https://postgr.es/m/CAFjFpReE5z2h98U2Vuia8hcEkpRRwrauRjHmyE44hNv8-xk+XA@mail.gmail.com
2017-03-08 15:14:03 -05:00
..
data Improve key representation for GIN jsonb_ops, and fix existence-search bug. 2014-05-09 08:41:26 -04:00
expected Expose explain's SUMMARY option 2017-03-08 15:14:03 -05:00
input Ignore tablespace ACLs when ignoring schema ACLs. 2017-02-12 16:03:41 -05:00
output Ignore tablespace ACLs when ignoring schema ACLs. 2017-02-12 16:03:41 -05:00
sql Expose explain's SUMMARY option 2017-03-08 15:14:03 -05:00
.gitignore Update .gitignore for config.cache. 2014-12-18 19:56:42 +09:00
GNUmakefile Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
parallel_schedule Add regression tests for passwords. 2017-03-07 14:25:52 +02:00
pg_regress_main.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_regress.c Updates to reflect that pg_ctl stop -m fast is the default 2017-01-13 21:25:36 -05:00
pg_regress.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
README Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
regress.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
regressplans.sh Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
resultmap Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
serial_schedule Add regression tests for passwords. 2017-03-07 14:25:52 +02:00
standby_schedule Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".