pgsql-server/ oc/src/sgml/runtime.sgml rc/back ...
pgsql-server/ oc/src/sgml/runtime.sgml rc/back ...
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@svr1.postgresql.org 04/02/23 16:45:59 Modified files: doc/src/sgml : runtime.sgml src/backend/postmaster: postmaster.c src/backend/storage/file: fd.c src/backend/utils/misc: guc.c src/include/storage: fd.h Log message: Do a direct probe during postmaster startup to determine the maximum number of openable files and the number already opened. This eliminates depending on sysconf(_SC_OPEN_MAX), and allows much saner behavior on platforms where open-file slots are used up by semaphores.