pgsql: Mark PlanState as an abstract node type. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Mark PlanState as an abstract node type.
Date
Msg-id E1oAENb-001zIv-Kl@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Mark PlanState as an abstract node type.

In the same vein as commit 251154beb, make it clear that we never
instantiate PlanState.

Also mark MemoryContextData as abstract.  This has no effect right now,
since memnodes.h isn't one of the files fed to gen_node_support.pl.
But it seems like good documentation and future-proofing.

Branch
------
master

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

Modified Files
--------------
src/include/nodes/execnodes.h                    | 2 ++
src/include/nodes/memnodes.h                     | 2 ++
src/test/modules/test_oat_hooks/test_oat_hooks.c | 3 ---
3 files changed, 4 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Move a comment
Next
From: Tom Lane
Date:
Subject: pgsql: Mark Scan as an abstract node type, too.