postgresql/src
Robert Haas 0aa1e9a44d Fix possible crash due to incorrect allocation context.
Commit af33039317 aimed to reduce
leakage from tqueue.c, which is good.  Unfortunately, by changing the
memory context in which all of gather_readnext() executes, it also
changed the context in which ExecShutdownGatherWorkers executes, which
is not good, because that function eventually causes a call to
ExecParallelRetrieveInstrumentation, which proceeds to allocate
planstate->worker_instrument in a short-lived context, causing a
crash.

Rushabh Lathia, reviewed by Amit Kapila and by me.
2016-08-16 13:28:10 -04:00
..
backend Fix possible crash due to incorrect allocation context. 2016-08-16 13:28:10 -04:00
bin Final pgindent + perltidy run for 9.6. 2016-08-15 13:42:51 -04:00
common pgindent run for 9.6 2016-06-09 18:02:36 -04:00
fe_utils Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:46 -04:00
include Final pgindent + perltidy run for 9.6. 2016-08-15 13:42:51 -04:00
interfaces Remove bogus dependencies on NUMERIC_MAX_PRECISION. 2016-08-14 15:06:01 -04:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl Final pgindent + perltidy run for 9.6. 2016-08-15 13:42:51 -04:00
port Promote pg_dumpall shell/connstr quoting functions to src/fe_utils. 2016-08-08 10:07:46 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Final pgindent + perltidy run for 9.6. 2016-08-15 13:42:51 -04:00
timezone Update time zone data files to tzdata release 2016f. 2016-08-05 12:59:29 -04:00
tools Final pgindent + perltidy run for 9.6. 2016-08-15 13:42:51 -04:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -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 Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.global.in Provide and use a makefile target to build all generated headers. 2016-07-01 15:09:02 -04:00
Makefile.shlib Make the AIX case of Makefile.shlib safe for parallel make. 2016-07-23 20:30:03 -04: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