mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
avoid database-wide restart on write error
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.81.2.1 2000/09/25 04:34:10 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.81.2.2 2000/10/04 07:50:00 inoue Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -2532,8 +2532,6 @@ AbortBufferIO(void)
|
|||||||
if (buf->flags & BM_IO_ERROR)
|
if (buf->flags & BM_IO_ERROR)
|
||||||
{
|
{
|
||||||
elog(NOTICE, "!!! write error seems permanent !!!");
|
elog(NOTICE, "!!! write error seems permanent !!!");
|
||||||
elog(NOTICE, "!!! now kill all backends and reset postmaster !!!");
|
|
||||||
proc_exit(255);
|
|
||||||
}
|
}
|
||||||
buf->flags |= BM_DIRTY;
|
buf->flags |= BM_DIRTY;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user