pgsql: Add static asserts for MAX_BACKENDS limiting factors

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add static asserts for MAX_BACKENDS limiting factors
Date: 2025-02-24 11:40:39
Message-ID: E1tmWpC-000Rm8-2u@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-02-24 15:20:15 pgsql: pg_amcheck: PQclear query results
Previous Message John Naylor 2025-02-24 11:07:07 pgsql: Silence warning in older versions of Valgrind