Обсуждение: pgsql: Provide readfuncs support for custom scans.

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

pgsql: Provide readfuncs support for custom scans.

От
Robert Haas
Дата:
Provide readfuncs support for custom scans.

Commit a0d9f6e434bb56f7e5441b7988f3982feead33b3 added this support for
all other plan node types; this fills in the gap.

Since TextOutCustomScan complicates this and is pretty well useless,
remove it.

KaiGai Kohei, with some modifications by me.

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/custom-scan.sgml |   18 ++++--------------
src/backend/nodes/outfuncs.c  |    7 ++++---
src/backend/nodes/readfuncs.c |   41 +++++++++++++++++++++++++++++++++++++++++
src/include/nodes/plannodes.h |    5 ++---
4 files changed, 51 insertions(+), 20 deletions(-)