Re: SLRU_PAGES_PER_SEGMENT as configure parameter - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: SLRU_PAGES_PER_SEGMENT as configure parameter
Date
Msg-id D6752209-87BF-4AF2-84E9-110395E1A46F@yesql.se
Whole thread Raw
List pgsql-hackers
> On 6 Feb 2025, at 11:53, Daniil Davydov <3danissimo@gmail.com> wrote:

> The constant SLRU_PAGES_PER_SEGMENT defines the size of the SLRU
> segments. It is currently hardcoded in slru.h. It would be nice to be
> able to set this parameter during configuration (for example, by
> analogy with --with-segsize-blocks).

Not commenting on the gist of the patch, but the mechanics:

    configure                        |  52 ++++++++

You should include the configure.ac changes and not just the generated code in
configure (which is fine to include for review, but the committer will
re-generate it regardless).  Please also include the corresponding Meson change
to keep the buildsystems in sync.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Docs for pg_basebackup needs v17 note for incremental backup
Next
From: vignesh C
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation