diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-11-23 01:08:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-11-23 01:08:36 +0000 |
commit | b04bdf1290c0a7655c72ef481d150f110b6af3a6 (patch) | |
tree | 6a40037ac1f8d14c0e48f8110b0f6d4a25a712af /src/backend/storage/file/fd.c | |
parent | d831990167e76be8c833d75b6a6a508ebdcf9fde (diff) | |
download | postgresql-b04bdf1290c0a7655c72ef481d150f110b6af3a6.tar.gz postgresql-b04bdf1290c0a7655c72ef481d150f110b6af3a6.zip |
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.
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r-- | src/backend/storage/file/fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 8dc82844d5e..58612be9e08 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -6,7 +6,7 @@ * Copyright (c) 1994, Regents of the University of California * * 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: * @@ -400,7 +400,7 @@ ReleaseLruFile() DO_DB(elog(DEBUG, "ReleaseLruFile. Opened %d", nfile)); 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 |