Thread: pgsql: Add static asserts for MAX_BACKENDS limiting factors

pgsql: Add static asserts for MAX_BACKENDS limiting factors

From
Andres Freund
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5ee75e32fa734e8ae85ff096f1523be8e16e1b8d

Modified Files
--------------
src/backend/storage/lmgr/deadlock.c | 3 +++
src/backend/utils/cache/inval.c     | 5 +++++
src/include/storage/buf_internals.h | 3 +++
3 files changed, 11 insertions(+)