1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-11 10:01:57 +03:00

Fix for TODO item * spinlock stuck problem when elog(FATAL)

and elog(ERROR) inside bufmgr.
This commit is contained in:
Hiroshi Inoue
2000-01-17 01:15:19 +00:00
parent 116ba5d814
commit 1500e262b5
3 changed files with 171 additions and 48 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.65 1999/12/16 01:25:08 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.66 2000/01/17 01:15:18 inoue Exp $
*
*-------------------------------------------------------------------------
*/
@ -46,7 +46,7 @@
* This is so that we can support more backends. (system-wide semaphore
* sets run out pretty fast.) -ay 4/95
*
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.65 1999/12/16 01:25:08 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.66 2000/01/17 01:15:18 inoue Exp $
*/
#include <sys/time.h>
#include <unistd.h>
@ -848,6 +848,7 @@ ProcReleaseSpins(PROC *proc)
SpinRelease(i);
}
}
AbortBufferIO();
}
/*****************************************************************************