Provide readfuncs support for custom scans.

Robert Haas <rhaas@postgresql.org>

Commit: a05dc4d7fd57d4ae084c1f0801973e5c1a1aa26e
Author: Robert Haas <rhaas@postgresql.org>
Date: 2015-11-12T12:40:31Z
Releases: 9.6.0
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.

Files

PathChange+/−
doc/src/sgml/custom-scan.sgml modified +4 −14
src/backend/nodes/outfuncs.c modified +4 −3
src/backend/nodes/readfuncs.c modified +41 −0
src/include/nodes/plannodes.h modified +2 −3

Documentation touched