_getPlan missing support for some Plan node elements

Started by Joe Conwayover 23 years ago2 messagespatches
Jump to latest
#1Joe Conway
mail@joeconway.com

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

Attachments:

plan-readfuncs.1.patchtext/plain; name=plan-readfuncs.1.patchDownload+13-0
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Joe Conway (#1)
Re: _getPlan missing support for some Plan node elements

Joe Conway <mail@joeconway.com> writes:

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.

Actually, there is no reason for readfuncs.c to support Plan node types
at all; I've been thinking of ripping out all that code since it's (a)
useless and (b) tedious to maintain.

regards, tom lane