pgsql: Allow executor nodes to change their ExecProcNode function.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Allow executor nodes to change their ExecProcNode function.
Дата
Msg-id E1ePGsa-0008Nh-Ol@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow executor nodes to change their ExecProcNode function.

In order for executor nodes to be able to change their ExecProcNode function
after ExecInitNode() has finished, provide ExecSetExecProcNode().  This allows
any wrappers functions that only execProcnode.c knows about to be reinstalled.
The motivation for wanting to change ExecProcNode after ExecInitNode() has
finished is that it is not known until later whether parallel query is
available, so if a parallel variant is to be installed then ExecInitNode()
is too soon to decide.

Author: Thomas Munro
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/CAEepm=09rr65VN+cAV5FgyM_z=D77Xy8Fuc9CDDDYbq3pQUezg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/538d114f6d72cbc94122ab522e002e63359cff5b

Modified Files
--------------
src/backend/executor/execProcnode.c | 28 ++++++++++++++++++++++------
src/include/executor/executor.h     |  1 +
2 files changed, 23 insertions(+), 6 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Provide overflow safe integer math inline functions.
Следующее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Add approximated Zipfian-distributed random generator topgbench