agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add EXPLAIN (IO) instrumentation for TidRangeScan
Date: Tue, 07 Apr 2026 21:25:30 +0000
Message-ID: <E1wADvN-003SHt-1A@gemulon.postgresql.org> (raw)

Add EXPLAIN (IO) instrumentation for TidRangeScan

Adds support for EXPLAIN (IO) instrumentation for TidRange scans. This
requires adding shared instrumentation for parallel scans, using the
separate DSM approach introduced by dd78e69cfc33.

Author: Tomas Vondra <tomas@vondra.me>
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/flat/a177a6dd-240b-455a-8f25-aca0b1c08c6e%40vondra.me

Branch
------
master

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

Modified Files
--------------
src/backend/commands/explain.c          |  25 ++++++
src/backend/executor/execParallel.c     |  12 +++
src/backend/executor/nodeTidrangescan.c | 133 ++++++++++++++++++++++++++++++--
src/include/executor/instrument_node.h  |  18 +++++
src/include/executor/nodeTidrangescan.h |   9 +++
src/include/nodes/execnodes.h           |   1 +
src/tools/pgindent/typedefs.list        |   2 +
7 files changed, 192 insertions(+), 8 deletions(-)



view thread (2+ messages)

Message-ID: <E1wADvN-003SHt-1A@gemulon.postgresql.org>
Permalink:  ../E1wADvN-003SHt-1A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wADvN-003SHt-1A@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: Add EXPLAIN (IO) instrumentation for TidRangeScan
  In-Reply-To: <E1wADvN-003SHt-1A@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