pgsql/src/backend/storage/smgr (md.c) - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/storage/smgr (md.c)
Date
Msg-id 200006020358.XAA15823@hub.org
Whole thread Raw
List pgsql-committers
  Date: Thursday, June  1, 2000 @ 23:58:33
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/storage/smgr
     from hub.org:/home/projects/pgsql/tmp/cvs-serv15796/backend/storage/smgr

Modified Files:
    md.c

-----------------------------  Log Message  -----------------------------

Create an fd.c entry point that is just like plain open(2) except that
it will close VFDs if necessary to surmount ENFILE or EMFILE failures.
Make use of this in md.c, xlog.c, and user.c routines that were
formerly vulnerable to these failures.  In particular, this should
handle failures of mdblindwrt() that have been observed under heavy
load conditions.  (By golly, every other process on the system may
crash after Postgres eats up all the kernel FDs, but Postgres will
keep going!)

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/include/storage (fd.h)
Next
From: Tom Lane
Date:
Subject: pgsql/src/backend/storage/file (fd.c)