提交 b04bdf12 编写于 作者: T Tom Lane

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.
上级 d8319901
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.50 1999/10/17 23:09:02 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.51 1999/11/23 01:08:36 tgl Exp $
* *
* NOTES: * NOTES:
* *
...@@ -400,7 +400,7 @@ ReleaseLruFile() ...@@ -400,7 +400,7 @@ ReleaseLruFile()
DO_DB(elog(DEBUG, "ReleaseLruFile. Opened %d", nfile)); DO_DB(elog(DEBUG, "ReleaseLruFile. Opened %d", nfile));
if (nfile <= 0) if (nfile <= 0)
elog(FATAL, "ReleaseLruFile: No opened files - no one can be closed"); elog(ERROR, "ReleaseLruFile: No open files available to be closed");
/* /*
* There are opened files and so there should be at least one used vfd * There are opened files and so there should be at least one used vfd
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册