postgresql/src
Heikki Linnakangas ac3c59cc80 Fix a rare race condition when commit_siblings > 0 and a transaction commits
at the same instant as a new backend is spawned. Since CountActiveBackends()
doesn't hold ProcArrayLock, it needs to be prepared for the case that a
pointer at the end of the proc array is still NULL even though numProcs says
it should be valid, since it doesn't hold ProcArrayLock. Backpatch to 8.1.
8.0 and earlier had this right, but it was broken in the split of PGPROC and
sinval shared memory arrays.

Per report and proposal by Marko Kreen.
2009-03-31 05:18:43 +00:00
..
backend Fix a rare race condition when commit_siblings > 0 and a transaction commits 2009-03-31 05:18:43 +00:00
bin Fix tab completion of ANALYZE VERBOSE <tab>. It was previously confused 2009-03-27 14:59:11 +00:00
include Fix an oversight in the support for storing/retrieving "minimal tuples" in 2009-03-30 04:09:18 +00:00
interfaces tag 8.2.13 2009-03-13 02:16:43 +00:00
makefiles Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. 2006-11-28 05:45:43 +00:00
pl Set isnull for errm and sqlstate local variables when they're free'd. Because 2009-02-27 10:27:45 +00:00
port tag 8.2.13 2009-03-13 02:16:43 +00:00
template Make --with-ldap build on Unixware, per Olivier Prenant. 2006-12-14 21:50:07 +00:00
test Fix an oversight in the support for storing/retrieving "minimal tuples" in 2009-03-30 04:09:18 +00:00
timezone Add MUST (Mauritius Island Summer Time) to the list of known abbreviations. 2009-03-05 14:28:18 +00:00
tools Create a script to handle stamping release version numbers into files, 2008-06-10 18:09:01 +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