postgresql/src/backend
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
..
access Fix an oversight in the support for storing/retrieving "minimal tuples" in 2009-03-30 04:09:18 +00:00
bootstrap On systems that have setsid(2) (which should be just about everything except 2006-11-21 20:59:53 +00:00
catalog Repair a longstanding bug in CLUSTER and the rewriting variants of ALTER 2009-02-24 01:39:01 +00:00
commands In CREATE CONVERSION, test that the given function is a valid conversion 2009-02-27 16:35:36 +00:00
executor Fix an oversight in the support for storing/retrieving "minimal tuples" in 2009-03-30 04:09:18 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq When we are in error recursion trouble, arrange to suppress translation and 2009-03-02 21:18:57 +00:00
main Fix erroneous implementation of -s in postmaster.c (the switch doesn't take 2007-01-04 00:58:01 +00:00
nodes Fix an oversight in the code that makes transitive-equality deductions from 2008-12-01 21:06:31 +00:00
optimizer Fix an oversight in the code that makes transitive-equality deductions from 2008-12-01 21:06:31 +00:00
parser Defend against null input in analyze_requires_snapshot(), per report 2009-01-30 16:59:16 +00:00
po Translation updates 2009-01-29 22:06:53 +00:00
port Repair two places where SIGTERM exit could leave shared memory state 2008-04-17 00:00:01 +00:00
postmaster Fix erroneous memory context switch in autovacuum, which was returning to a 2009-01-20 12:17:23 +00:00
regex Fix assorted security-grade bugs in the regex engine. All of these problems 2008-01-03 20:48:49 +00:00
rewrite Fix more problems with rewriter failing to set Query.hasSubLinks when inserting 2008-09-24 16:53:00 +00:00
storage Fix a rare race condition when commit_siblings > 0 and a transaction commits 2009-03-31 05:18:43 +00:00
tcop Fix failure to ensure that a snapshot is available to datatype input functions 2008-12-13 02:00:53 +00:00
utils Fix core dump due to null-pointer dereference in to_char() when datetime 2009-03-12 00:53:41 +00:00
Makefile On Windows, we know the backend stack size limit because we have to 2006-10-08 17:15:34 +00:00
nls.mk Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:36 +00:00