pgsql: Add static asserts for MAX_BACKENDS limiting factors

Started by Andres Freundover 1 year ago1 messagescomitters
Jump to latest
#1Andres 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: /messages/by-id/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(+)