aboutsummaryrefslogtreecommitdiff
path: root/contrib/dbsize/dbsize.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-02-23 20:46:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-02-23 20:46:16 +0000
commit95a6dbf12b2aa7261cd6f13f41cc8de8a693ee75 (patch)
tree03985fbffc9a34f8e9ca3a58cacbbb7f49aed89f /contrib/dbsize/dbsize.c
parentfd7d98a271e65bc982e9af0f76b765ef50baa247 (diff)
downloadpostgresql-95a6dbf12b2aa7261cd6f13f41cc8de8a693ee75.tar.gz
postgresql-95a6dbf12b2aa7261cd6f13f41cc8de8a693ee75.zip
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.
Diffstat (limited to 'contrib/dbsize/dbsize.c')
0 files changed, 0 insertions, 0 deletions