pgsql: Fix count_usable_fds() to stop trying to open files once it - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Fix count_usable_fds() to stop trying to open files once it
Date
Msg-id 20050807184720.594D75282E@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/storage/file:
        fd.c (r1.118 -> r1.119)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/file/fd.c.diff?r1=1.118&r2=1.119)

pgsql-committers by date:

Previous
From: andrewd@pgfoundry.org (User Andrewd)
Date:
Subject: pgbuildfarm - client-code: split --from-source into two options - one
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix count_usable_fds() to stop trying to open files once it