aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-06-02 03:58:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-06-02 03:58:34 +0000
commitb659ab07a2b4067b7210c8f2f6daa947817a2bfe (patch)
tree5320e447110fc16a1bfd087a6a3dae07b702a7bb /src/tutorial/basics.source
parent60b941f9a400e37a463144cde2ec8a1c2e625d64 (diff)
downloadpostgresql-b659ab07a2b4067b7210c8f2f6daa947817a2bfe.tar.gz
postgresql-b659ab07a2b4067b7210c8f2f6daa947817a2bfe.zip
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!)
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions