From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rework custom scans to work more like the new extensible node st
Date: Tue, 29 Mar 2016 15:28:31 +0000
Message-ID: <E1akvZH-0003Yw-Op@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Rework custom scans to work more like the new extensible node stuff.
Per discussion, the new extensible node framework is thought to be
better designed than the custom path/scan/scanstate stuff we added
in PostgreSQL 9.5. Rework the latter to be more like the former.
This is not backward-compatible, but we generally don't promise that
for C APIs, and there probably aren't many people using this yet
anyway.
KaiGai Kohei, reviewed by Petr Jelinek and me. Some further
cosmetic changes by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f9143d102ffd0947ca904c62b1d3d6fd587e0c80
Modified Files
--------------
src/backend/commands/explain.c | 1 +
src/backend/nodes/extensible.c | 88 ++++++++++++++++++++++++++-------
src/backend/nodes/outfuncs.c | 6 +--
src/backend/nodes/readfuncs.c | 19 ++-----
src/backend/optimizer/plan/createplan.c | 1 +
src/include/executor/nodeCustom.h | 1 +
src/include/nodes/execnodes.h | 35 +------------
src/include/nodes/extensible.h | 85 ++++++++++++++++++++++++++++++-
src/include/nodes/plannodes.h | 14 +-----
src/include/nodes/relation.h | 19 +------
10 files changed, 168 insertions(+), 101 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Rework custom scans to work more like the new extensible node st
In-Reply-To: <E1akvZH-0003Yw-Op@gemulon.postgresql.org>
References: <E1akvZH-0003Yw-Op@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