postgresql/src/test/regress
Tom Lane dfd26f9c5f Make executor's SELECT INTO code save and restore original tuple receiver.
As previously coded, the QueryDesc's dest pointer was left dangling
(pointing at an already-freed receiver object) after ExecutorEnd.  It's a
bit astonishing that it took us this long to notice, and I'm not sure that
the known problem case with SQL functions is the only one.  Fix it by
saving and restoring the original receiver pointer, which seems the most
bulletproof way of ensuring any related bugs are also covered.

Per bug #6379 from Paul Ramsey.  Back-patch to 8.4 where the current
handling of SELECT INTO was introduced.
2012-01-04 18:30:55 -05:00
..
data
expected Make executor's SELECT INTO code save and restore original tuple receiver. 2012-01-04 18:30:55 -05:00
input Support SECURITY LABEL on databases, tablespaces, and roles. 2011-07-20 13:18:24 -04:00
output Improve planner's handling of duplicated index column expressions. 2011-12-23 18:45:14 -05:00
sql Make executor's SELECT INTO code save and restore original tuple receiver. 2012-01-04 18:30:55 -05:00
.gitignore
GNUmakefile Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Makefile
parallel_schedule Fix random discrepancies between parallel_schedule and serial_schedule. 2011-11-08 23:05:14 -05:00
pg_regress_main.c pg_regress: Replace exit_nicely() with exit() plus atexit() hook 2012-01-02 22:09:25 +02:00
pg_regress.c pg_regress: Replace exit_nicely() with exit() plus atexit() hook 2012-01-02 22:09:25 +02:00
pg_regress.h pg_regress: Replace exit_nicely() with exit() plus atexit() hook 2012-01-02 22:09:25 +02:00
regress.c Redesign the plancache mechanism for more flexibility and efficiency. 2011-09-16 00:43:52 -04:00
regressplans.sh
resultmap Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
serial_schedule Fix random discrepancies between parallel_schedule and serial_schedule. 2011-11-08 23:05:14 -05:00
standby_schedule