postgresql/src
Tom Lane 4a1bffa066 Fix failure due to accessing an already-freed tuple descriptor in a plan
involving HashAggregate over SubqueryScan (this is the known case, there
may well be more).  The bug is only latent in releases before 8.2 since they
didn't try to access tupletable slots' descriptors during ExecDropTupleTable.
The least bogus fix seems to be to make subqueries share the parent query's
memory context, so that tupdescs they create will have the same lifespan as
those of the parent query.  There are comments in the code envisioning going
even further by not having a separate child EState at all, but that will
require rethinking executor access to range tables, which I don't want to
tackle right now.  Per bug report from Jean-Pierre Pelletier.
2006-12-26 21:37:28 +00:00
..
backend Fix failure due to accessing an already-freed tuple descriptor in a plan 2006-12-26 21:37:28 +00:00
bin Make HISTCONTROL=ignoredups work again (broken by misordering of 2006-12-24 19:14:41 +00:00
include Fix failure due to accessing an already-freed tuple descriptor in a plan 2006-12-26 21:37:28 +00:00
interfaces Patch of Win32 Encoding problem for server messages using 2006-12-04 22:24:04 +00:00
makefiles Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. 2006-11-28 05:45:43 +00:00
pl Fix plpython to work (or at least pass its regression tests) with 2006-11-21 21:51:05 +00:00
port Patch of Win32 Encoding problem for server messages using 2006-12-04 22:24:04 +00:00
template Make --with-ldap build on Unixware, per Olivier Prenant. 2006-12-14 21:50:07 +00:00
test Change pg_stat_all_tables and sister views to put the recently-added 2006-11-24 21:18:42 +00:00
timezone Put JST back into the default set of timezone abbreviations; 2006-12-15 16:54:56 +00:00
tools More MSVC build support from Magnus. 2006-11-29 19:49:31 +00:00
tutorial Fix some misuses of strncat(). 2006-09-27 16:19:42 +00:00
bcc32.mak Fix bcc32.mak to create and remove pg_config_os.h properly. Apparently 2006-10-06 18:53:53 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Remove dllinit.c; it was only needed for long-obsolete Cygwin versions, 2006-06-22 23:50:35 +00:00
Makefile.global.in On Windows, we know the backend stack size limit because we have to 2006-10-08 17:15:34 +00:00
Makefile.shlib Fix shared library creation to work properly on AIX. Albe Laurenz 2006-09-19 15:36:08 +00:00
nls-global.mk When merging PO files, take into consideration translations in other PO 2006-04-05 13:40:15 +00:00
win32.mak Fix win32.mak for config cleanup. 2006-08-08 22:44:05 +00:00