Add static asserts for MAX_BACKENDS limiting factors
Andres Freund <andres@anarazel.de>
Add static asserts for MAX_BACKENDS limiting factors So far the various dependencies were documented in the comment above MAX_BACKENDS, but not checked. Discussion: https://postgr.es/m/CA+COZaBO_s3LfALq=b+HcBHFSOEGiApVjrRacCe4VP9m7CJsNQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/deadlock.c | modified | +3 −0 |
| src/backend/utils/cache/inval.c | modified | +5 −0 |
| src/include/storage/buf_internals.h | modified | +3 −0 |
Discussion
- MAX_BACKENDS size (comment accuracy) 19 messages · 2025-01-25 → 2025-02-24