could not dump unrecognized node type: 500

Started by Simon Riggsover 20 years ago3 messages
#1Simon Riggs
simon@2ndquadrant.com

Is there any particular reason that RelOptInfo doesn't have a debugging
output function?

Seems too obvious an omission not have have some reasoning
there...perhaps just too complex and rapidly changing?

Best Regards, Simon Riggs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Simon Riggs (#1)
Re: could not dump unrecognized node type: 500

Simon Riggs <simon@2ndquadrant.com> writes:

Is there any particular reason that RelOptInfo doesn't have a debugging
output function?

The planner structs involving RelOptInfo are self-referential, so if you
just do the "obvious" thing you will find outfuncs.c going into infinite
recursion. I haven't felt a need to try to fix this.

regards, tom lane

#3Simon Riggs
simon@2ndquadrant.com
In reply to: Tom Lane (#2)
Re: could not dump unrecognized node type: 500

On Wed, 2005-05-18 at 17:48 -0400, Tom Lane wrote:

Simon Riggs <simon@2ndquadrant.com> writes:

Is there any particular reason that RelOptInfo doesn't have a debugging
output function?

The planner structs involving RelOptInfo are self-referential, so if you
just do the "obvious" thing you will find outfuncs.c going into infinite
recursion. I haven't felt a need to try to fix this.

OK, thanks. It was too obvious not to have a bear-trap lurking there...

Best Regards, Simon Riggs