Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Maybe a setting that controls the total number of files that postmaster
> plus backends can allocate among them would be useful.
That'd be nice if we could do it, but I don't see any inexpensive way
to get one backend to release an open FD when another one needs one.
So, divvying up the limit on an N-per-backend basis seems like the
most workable approach.
regards, tom lane