[COMMITTERS] pgsql: Allow custom and foreign scans to have shutdown callbacks. - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Allow custom and foreign scans to have shutdown callbacks.
Date
Msg-id E1chu0t-0001LP-9n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow custom and foreign scans to have shutdown callbacks.

This is expected to be useful mostly when performing such scans in
parallel, because in that case it allows (in combination with commit
acf555bc53acb589b5a2827e65d655fa8c9adee0) nodes below a Gather to get
control just before the DSM segment goes away.

KaiGai Kohei, except that I rewrote the documentation.  Reviewed by
Claudio Freire.

Discussion: http://postgr.es/m/CADyhKSXJK0jUJ8rWv4AmKDhsUh124_rEn39eqgfC5D8fu6xVuw@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a315b967cc1bd43ecf3c10ea48b44a4fb0ff8d45

Modified Files
--------------
doc/src/sgml/custom-scan.sgml          | 13 +++++++++++++
doc/src/sgml/fdwhandler.sgml           | 14 ++++++++++++++
src/backend/executor/execProcnode.c    |  6 ++++++
src/backend/executor/nodeCustom.c      |  9 +++++++++
src/backend/executor/nodeForeignscan.c | 16 ++++++++++++++++
src/include/executor/nodeCustom.h      |  1 +
src/include/executor/nodeForeignscan.h |  1 +
src/include/foreign/fdwapi.h           |  2 ++
src/include/nodes/extensible.h         |  1 +
9 files changed, 63 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Put back #include in dirmod.c.
Next
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: pg_upgrade docs: clarify instructions onstandby extensions