From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use ExecGetCommonSlotOps infrastructure in more places.
Date: Thu, 19 Dec 2024 22:07:25 +0000
Message-ID: <E1tOOg0-000Pzm-LF@gemulon.postgresql.org> (raw)
Use ExecGetCommonSlotOps infrastructure in more places.
Append, MergeAppend, and RecursiveUnion can all use the support
functions added in commit 276279295. The first two can report a
fixed result slot type if all their children return the same fixed
slot type. That does nothing for the append step itself, but might
allow optimizations in the parent plan node. RecursiveUnion can
optimize tuple hash table operations in the same way as SetOp now
does.
Patch by me; thanks to Richard Guo and David Rowley for review.
Discussion: https://postgr.es/m/1850138.1731549611@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f0b900086a370e45f730138d55da4f260d24809c
Modified Files
--------------
src/backend/executor/nodeAppend.c | 32 ++++++++++++++++++--------
src/backend/executor/nodeMergeAppend.c | 38 +++++++++++++++++++++----------
src/backend/executor/nodeRecursiveunion.c | 8 +++++--
3 files changed, 55 insertions(+), 23 deletions(-)
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: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use ExecGetCommonSlotOps infrastructure in more places.
In-Reply-To: <E1tOOg0-000Pzm-LF@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