Skip to content

Commit b04bdf1

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 parent d831990 commit b04bdf1

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: No opened files - no one can be closed");
403+
elog(ERROR, "ReleaseLruFile: No open files available 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy