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

Commitb04bdf1

Browse files
committed
Reduce ReleaseLruFile failure from FATAL to ERROR grade; offhand I don't
see that this should be a worse way to fail to open a file than any other.
1 parentd831990 commitb04bdf1

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/file

1 file changed

+2
-2
lines changed

‎src/backend/storage/file/fd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.50 1999/10/17 23:09:02 tgl Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.51 1999/11/23 01:08:36 tgl Exp $
1010
*
1111
* NOTES:
1212
*
@@ -400,7 +400,7 @@ ReleaseLruFile()
400400
DO_DB(elog(DEBUG,"ReleaseLruFile. Opened %d",nfile));
401401

402402
if (nfile <=0)
403-
elog(FATAL,"ReleaseLruFile: Noopened files- no one can be closed");
403+
elog(ERROR,"ReleaseLruFile: Noopen filesavailable to be closed");
404404

405405
/*
406406
* There are opened files and so there should be at least one used vfd

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp