agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use add_size/mul_size for index instrumentation size calculation
Date: Tue, 07 Apr 2026 11:05:57 +0000
Message-ID: <E1wA4Fo-003NnO-1J@gemulon.postgresql.org> (raw)
Use add_size/mul_size for index instrumentation size calculations
Use overflow-safe size arithmetic in the Index[Only]Scan and parallel
instrumentation functions, consistent with other executor nodes (Hash,
Sort, Agg, Memoize). This was an oversight in dd78e69cfc3.
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Tomas Vondra <tomas@vondra.me>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Discussion: https://postgr.es/m/flat/a177a6dd-240b-455a-8f25-aca0b1c08c6e%40vondra.me
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/884f9b3c762f987ed6073303b597c110a4102fb7
Modified Files
--------------
src/backend/executor/nodeIndexonlyscan.c | 8 ++++----
src/backend/executor/nodeIndexscan.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
Message-ID: <E1wA4Fo-003NnO-1J@gemulon.postgresql.org>
Permalink: ../E1wA4Fo-003NnO-1J@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wA4Fo-003NnO-1J@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: tomas.vondra@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use add_size/mul_size for index instrumentation size calculation
In-Reply-To: <E1wA4Fo-003NnO-1J@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