postgresql/src
Robert Haas acf555bc53 Shut down Gather's children before shutting down Gather itself.
It turns out that the original shutdown order here does not work well.
Multiple people attempting to develop further parallel query patches
have discovered that they need to do cleanup before the DSM goes away,
and you can't do that if the parent node gets cleaned up first.

Patch by me, reviewed by KaiGai Kohei and Dilip Kumar.

Discussion: http://postgr.es/m/CA+TgmoY6bOc1YnhcAQnMfCBDbsJzROQ3sYxSAL-SYB5tMJcTKg@mail.gmail.com
Discussion: http://postgr.es/m/9A28C8860F777E439AA12E8AEA7694F8012AEB82@BPXM15GP.gisp.nec.co.jp
Discussion: http://postgr.es/m/CA+TgmoYuPOc=+xrG1v0fCsoLbKAab9F1ddOeaaiLMzKOiBar1Q@mail.gmail.com
2017-02-22 08:08:07 +05:30
..
backend Shut down Gather's children before shutting down Gather itself. 2017-02-22 08:08:07 +05:30
bin Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
common Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fe_utils Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
include Add optimizer and executor support for parallel index-only scans. 2017-02-19 15:57:55 +05:30
interfaces Make src/interfaces/libpq/test clean up after itself. 2017-02-19 17:18:10 -05:00
makefiles Try to fix non-MSVC Windows builds in the wake of logical replication. 2017-01-20 12:51:31 -05:00
pl Make more use of castNode() 2017-02-21 11:59:09 -05:00
port Attempt to handle pending-delete files on Windows 2017-01-04 10:48:30 +01:00
template Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
test Add tests for two-phase commit 2017-02-21 19:00:45 -03:00
timezone Update time zone data files to tzdata release 2016j. 2017-01-30 11:40:22 -05:00
tools Dept of second thoughts: rename new perl script. 2017-02-19 16:41:51 -05:00
tutorial Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove redundant coverage target 2017-02-17 08:56:57 -05:00
Makefile.global.in Dept of second thoughts: rename new perl script. 2017-02-19 16:41:51 -05:00
Makefile.shlib Fix typos in comments. 2017-02-06 11:33:58 +02:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00