mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Allow maximum number of backends to be set at configure time
(--with-maxbackends). Add a postmaster switch (-N backends) that allows the limit to be reduced at postmaster start time. (You can't increase it, sorry to say, because there are still some fixed-size arrays.) Grab the number of semaphores indicated by min(MAXBACKENDS, -N) at postmaster startup, so that this particular form of bogus configuration is exposed immediately rather than under heavy load.
This commit is contained in:
674
src/configure
vendored
674
src/configure
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user