agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Avoid recalculating pgprocno in ProcArrayAdd()
Date: Wed, 12 Aug 2026 14:53:39 +0000
Message-ID: <E1wuAKo-00000000HG9-2BU8@gemulon.postgresql.org> (raw)

Avoid recalculating pgprocno in ProcArrayAdd()

The value is already stored in a local variable a few lines above.
This is just a cosmetic change.

Author: Shinya Kato <shinya11.kato@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: solai v <solai.cdac@gmail.com>
Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com>
Discussion: https://postgr.es/m/CAOzEurTJO2aqd9ewQmo9vjCrFUAD8Lk+raujCfK5oWoLGUP_3w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aaf67e4825f32d764296fabfa3a86c4da90cec16

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1wuAKo-00000000HG9-2BU8@gemulon.postgresql.org>
Permalink:  ../E1wuAKo-00000000HG9-2BU8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wuAKo-00000000HG9-2BU8@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: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Avoid recalculating pgprocno in ProcArrayAdd()
  In-Reply-To: <E1wuAKo-00000000HG9-2BU8@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