agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor shmem initialization code in predicate.c
Date: Sun, 05 Apr 2026 23:27:44 +0000
Message-ID: <E1w9WsZ-0039A8-0c@gemulon.postgresql.org> (raw)
Refactor shmem initialization code in predicate.c
This is in preparation to convert it to use the new shmem allocation
functions, making the next commit that does that smaller. This inlines
SerialInit() to the caller, and moves all the initialization steps
within PredicateLockShmemInit() to happen after all the
ShmemInit{Struct|Hash}() calls.
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Matthias van de Meent <boekewurm+postgres@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/CAExHW5vM1bneLYfg0wGeAa=52UiJ3z4vKd3AJ72X8Fw6k3KKrg@mail.gmail...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4c9eca5afea0e8623e39f6a778412d4da687f659
Modified Files
--------------
src/backend/storage/lmgr/predicate.c | 217 ++++++++++++++++-------------------
1 file changed, 98 insertions(+), 119 deletions(-)
Message-ID: <E1w9WsZ-0039A8-0c@gemulon.postgresql.org>
Permalink: ../E1w9WsZ-0039A8-0c@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1w9WsZ-0039A8-0c@gemulon.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Refactor shmem initialization code in predicate.c
In-Reply-To: <E1w9WsZ-0039A8-0c@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox