Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb917c1

Browse files
committed
I can't see any good reason for DropRelFileNodeBuffers to be issuing
FATAL when it detects a nonzero reference count. Reduce to ERROR.
1 parent2a8b626 commiteb917c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/storage/buffer/bufmgr.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.176 2004/08/31 16:13:06 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.177 2004/09/06 17:31:32 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1129,7 +1129,7 @@ DropRelFileNodeBuffers(RelFileNode rnode, bool istemp,
11291129
bufHdr->tag.blockNum >=firstDelBlock)
11301130
{
11311131
if (LocalRefCount[i]!=0)
1132-
elog(FATAL,"block %u of %u/%u/%u is still referenced (local %u)",
1132+
elog(ERROR,"block %u of %u/%u/%u is still referenced (local %u)",
11331133
bufHdr->tag.blockNum,
11341134
bufHdr->tag.rnode.spcNode,
11351135
bufHdr->tag.rnode.dbNode,
@@ -1172,7 +1172,7 @@ DropRelFileNodeBuffers(RelFileNode rnode, bool istemp,
11721172
* There should be no pin on the buffer.
11731173
*/
11741174
if (bufHdr->refcount!=0)
1175-
elog(FATAL,"block %u of %u/%u/%u is still referenced (private %d, global %u)",
1175+
elog(ERROR,"block %u of %u/%u/%u is still referenced (private %d, global %u)",
11761176
bufHdr->tag.blockNum,
11771177
bufHdr->tag.rnode.spcNode,
11781178
bufHdr->tag.rnode.dbNode,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp