Обсуждение: pgsql: Mark PlanState as an abstract node type.

Поиск
Список
Период
Сортировка

pgsql: Mark PlanState as an abstract node type.

От
Tom Lane
Дата:
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(-)