postgresql/src/test/regress
Amit Kapila 14e9b2a752 Prohibit pushing subqueries containing window function calculation to
workers.

Allowing window function calculation in workers leads to inconsistent
results because if the input row ordering is not fully deterministic, the
output of window functions might vary across workers.  The fix is to treat
them as parallel-restricted.

In the passing, improve the coding pattern in max_parallel_hazard_walker
so that it has a chain of mutually-exclusive if ... else if ... else if
... else if ... IsA tests.

Reported-by: Marko Tiikkaja
Bug: 15324
Author: Amit Kapila
Reviewed-by: Tom Lane
Backpatch-through: 9.6
Discussion: https://postgr.es/m/CAL9smLAnfPJCDUUG4ckX2iznj53V7VSMsYefzZieN93YxTNOcw@mail.gmail.com
2018-09-04 10:28:08 +05:30
..
data
expected Prohibit pushing subqueries containing window function calculation to 2018-09-04 10:28:08 +05:30
input Allow multi-inserts during COPY into a partitioned table 2018-08-01 10:23:09 +02:00
output Error position support for defaults and check constraints 2018-08-30 08:20:23 +02:00
sql Prohibit pushing subqueries containing window function calculation to 2018-09-04 10:28:08 +05:30
.gitignore
GNUmakefile Put back parallel-safety guards in plpython and src/test/regress/. 2018-04-10 16:15:04 -04:00
Makefile Fix non-GNU makefiles for AIX make. 2017-11-30 00:57:22 -08:00
parallel_schedule Don't run fast_default regression test in parallel with other tests. 2018-04-20 17:27:56 -04:00
pg_regress_main.c Clean up assorted misuses of snprintf()'s result value. 2018-08-15 16:29:31 -04:00
pg_regress.c Clean up assorted misuses of snprintf()'s result value. 2018-08-15 16:29:31 -04:00
pg_regress.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
README
regress.c Refactor geometric functions and operators 2018-07-29 02:36:29 +02:00
regressplans.sh
resultmap
serial_schedule Don't run fast_default regression test in parallel with other tests. 2018-04-20 17:27:56 -04:00
standby_schedule

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