Re: GetRelationPath() vs critical sections - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: GetRelationPath() vs critical sections
Date
Msg-id CA+hUKGK98VNg2VtdBp46m2symeSB2zFiAkSX6Ow1aJ=D0VcZig@mail.gmail.com
Whole thread Raw
In response to Re: GetRelationPath() vs critical sections  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Sat, Feb 22, 2025 at 1:30 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> procnumber.h seems like the right place, at least without a separate
> discussion of the ramifications of making it configurable, no?  (I
> thought there were ideas about squeezing it down to 16 bits so you
> could jam two of 'em into an atomic uint32_t for list headers or
> something like that, off-topic here except to say that it seems to
> conflict with the idea of making it user-increasable?)

(Please ignore this comment, I'll comment on the other thread instead.
Sorry I hadn't seen your patches over there yet: when I started
talking about the definition and assertions around MAX_BACKENDS in
here, it had jumped out at me independently while trying to answer
your question about compile-time log10 stuff, because I also noticed
that we sucked even at codifying the log2 constraints.)



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: GetRelationPath() vs critical sections
Next
From: Robert Haas
Date:
Subject: a very significant fraction of the buildfarm is now pink