Re: MAX_BACKENDS size (comment accuracy) - Mailing list pgsql-hackers

From Jacob Brazeal
Subject Re: MAX_BACKENDS size (comment accuracy)
Date
Msg-id CA+COZaDcxLNGvkUN4q6HoQKD2oAPp4Qs7ExzUDJ2nXXDz9ZYKQ@mail.gmail.com
Whole thread Raw
In response to Re: MAX_BACKENDS size (comment accuracy)  (Jacob Brazeal <jacob.brazeal@gmail.com>)
List pgsql-hackers
I had a typo earlier: I should have said:

> StaticAssertDecl((MAX_BACKENDS & LW_FLAG_MASK) == 0,
>     "MAX_BACKENDS and LW_FLAG_MASK overlap");

Should this check that  LW_LOCK_MASK & LW_FLAG_MASK == 0? To also ensure the LW_VAL_EXCLUSIVE bit does not overlap.

pgsql-hackers by date:

Previous
From: Jacob Brazeal
Date:
Subject: Re: MAX_BACKENDS size (comment accuracy)
Next
From: Shinya Kato
Date:
Subject: Re: Set AUTOCOMMIT to on in script output by pg_dump