Change ReleaseLruFile() usage so that if we cannot release any more
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Aug 2000 21:48:00 +0000 (21:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Aug 2000 21:48:00 +0000 (21:48 +0000)
commitcd5ae37e418ca52a4d6ff220447aa5d8cb6d1853
tree0db6e0d98ecedc77fa45eefa913749f9ca625427
parenta1109f966f723335279815e8a740a12720b2c22f
Change ReleaseLruFile() usage so that if we cannot release any more
virtual FDs, we just return the ENFILE/EMFILE error to the caller,
rather than immediate elog().  This allows more robust behavior in
the postmaster, which uses AllocateFile() but does not want elog().
src/backend/storage/file/fd.c