pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor ShmemIndex initialization
Date: Thu, 26 Mar 2026 10:09:40 +0000
Message-ID: <E1w5hel-001Wej-1M@gemulon.postgresql.org> (raw)

Refactor ShmemIndex initialization

Initialize the ShmemIndex hash table in InitShmemAllocator() already,
removing the need for the separate InitShmemIndex() step.

Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/CAExHW5vM1bneLYfg0wGeAa=52UiJ3z4vKd3AJ72X8Fw6k3KKrg@mail.gmail...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6b8238cb6aa76924fa63640fe421c421d2fa5472

Modified Files
--------------
src/backend/storage/ipc/ipci.c  |   8 +--
src/backend/storage/ipc/shmem.c | 143 ++++++++++++++++------------------------
src/include/storage/shmem.h     |   1 -
3 files changed, 56 insertions(+), 96 deletions(-)



Message-ID: <E1w5hel-001Wej-1M@gemulon.postgresql.org>
Permalink:  ../E1w5hel-001Wej-1M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w5hel-001Wej-1M@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 ShmemIndex initialization
  In-Reply-To: <E1w5hel-001Wej-1M@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox