]> granicus.if.org Git - postgresql/commit
Fix count_usable_fds() to stop trying to open files once it reaches
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 7 Aug 2005 18:47:38 +0000 (18:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 7 Aug 2005 18:47:38 +0000 (18:47 +0000)
commit4cf0feae2ca4d722cd33cfbdd35651625c81748e
tree9fb5b39c6e206d671430be6e3d6272155251fc12
parent668448d6f035333e7df0db8d21571eec01e4c519
Fix count_usable_fds() to stop trying to open files once it reaches
max_files_per_process.  Going further than that is just a waste of
cycles, and it seems that current Cygwin does not cope gracefully
with deliberately running the system out of FDs.  Per Andrew Dunstan.
src/backend/storage/file/fd.c