pgsql: Mark PlanState as an abstract node type.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Mark PlanState as an abstract node type.
Дата
Msg-id E1oAENb-001zIv-Kl@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Move a comment
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Mark Scan as an abstract node type, too.