postgresql/src
Tom Lane 44851c9335 Change hashscan.c to keep its list of active hash index scans in
TopMemoryContext, rather than scattered through executor per-query contexts.
This poses no danger of memory leak since the ResourceOwner mechanism
guarantees release of no-longer-needed items.  It is needed because the
per-query context might already be released by the time we try to clean up
the hash scan list.  Report by ykhuang, diagnosis by Heikki.

Back-patch to 8.0, where the ResourceOwner-based cleanup was introduced.
The given test case does not fail before 8.2, probably because we rearranged
transaction abort processing somehow; but this coding is undoubtedly risky
so I'll patch 8.0 and 8.1 anyway.
2008-03-07 15:59:16 +00:00
..
backend Change hashscan.c to keep its list of active hash index scans in 2008-03-07 15:59:16 +00:00
bin Don't call AddUserToDacl on Cygwin 2008-02-29 23:31:57 +00:00
include Fix PREPARE TRANSACTION to reject the case where the transaction has dropped a 2008-03-04 19:54:23 +00:00
interfaces Fix uninstall target. 2008-02-26 13:49:27 +00:00
makefiles Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. 2006-11-28 05:45:43 +00:00
pl Work around for perl 5.10 bug - fix due to perl hacker Simon Cozens. 2008-01-22 20:19:53 +00:00
port Fix handling of restricted processes for Windows Vista (mainly), 2008-02-29 15:31:37 +00:00
template Make --with-ldap build on Unixware, per Olivier Prenant. 2006-12-14 21:50:07 +00:00
test Fix a bug in 8.2.x that was exposed while investigating Kevin Grittner's 2008-01-09 20:50:12 +00:00
timezone Venezuela Time now means UTC-4:30, not UTC-4:00. Adjust our treatment 2008-03-02 00:10:36 +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