pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacob Champion <jchampion@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: postgres: Use pg_{add,mul}_size_overflow()
Date: Mon, 24 Nov 2025 20:24:28 +0000
Message-ID: <E1vNd6p-001E3U-26@gemulon.postgresql.org> (raw)

postgres: Use pg_{add,mul}_size_overflow()

The backend implementations of add_size() and mul_size() can now make
use of the APIs provided in common/int.h.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CAOYmi%2B%3D%2BpqUd2MUitvgW1pAJuXgG_TKCVc3_Ek7pe8z9nkf%2BAg%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/storage/ipc/shmem.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)



Message-ID: <E1vNd6p-001E3U-26@gemulon.postgresql.org>
Permalink:  ../E1vNd6p-001E3U-26@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vNd6p-001E3U-26@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: jchampion@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: postgres: Use pg_{add,mul}_size_overflow()
  In-Reply-To: <E1vNd6p-001E3U-26@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