Provide readfuncs support for custom scans.
authorRobert Haas <rhaas@postgresql.org>
Thu, 12 Nov 2015 12:40:31 +0000 (07:40 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 12 Nov 2015 12:40:31 +0000 (07:40 -0500)
commita05dc4d7fd57d4ae084c1f0801973e5c1a1aa26e
treea439fca900eace722c121012691ddfb08750c7b4
parent39b9978d9cac34ad799a5fa3ff3846f3e0372b0a
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.
doc/src/sgml/custom-scan.sgml
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c
src/include/nodes/plannodes.h