On Wed, 2005-05-18 at 17:48 -0400, Tom Lane wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)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