Provide readfuncs support for custom scans.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| 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 |