Re: compile error with -DOPTIMIZER_DEBUG - Mailing list pgsql-hackers

From Tom Lane
Subject Re: compile error with -DOPTIMIZER_DEBUG
Date
Msg-id 14074.1259505334@sss.pgh.pa.us
Whole thread Raw
In response to Re: compile error with -DOPTIMIZER_DEBUG  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> You know, the last couple of times I've touched that code, I've been
>> wondering why we bother to maintain it.  Personally I always use pprint()
>> when I'm interested in a printout of a plan tree.  Is anyone actually
>> using the printout code in allpaths.c?

> I thought OPTIMIZER_DEBUG showed us all the possible paths, not just the
> final plan.

Yeah, but we could repoint that code at pprint.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gokulakannan Somasundaram
Date:
Subject: A small issue in CommentCast function
Next
From: Tom Lane
Date:
Subject: Re: cvs chapters in our docs