I was poking around the PREPARE/EXECUTE code, and I noticed _getPlan(Plan *node) in readfuncs.c is missing support for 4 elements of the Plan struct. Attached patch adds it.
If there are no objections, please apply.
Thanks,
Joe