Re: [PATCH] Improve ability to display optimizer analysis using OPTIMIZER_DEBUG - Mailing list pgsql-hackers

From David Rowley
Subject Re: [PATCH] Improve ability to display optimizer analysis using OPTIMIZER_DEBUG
Date
Msg-id CAApHDvpBQs=QdqZHW5iVMbdNSkp4zBHHnXYZz6dFagaJHs_3Tw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Improve ability to display optimizer analysis using OPTIMIZER_DEBUG  (Ankit Kumar Pandey <itsankitkp@gmail.com>)
Responses Re: [PATCH] Improve ability to display optimizer analysis using OPTIMIZER_DEBUG  (Ankit Kumar Pandey <itsankitkp@gmail.com>)
List pgsql-hackers
On Mon, 26 Dec 2022 at 08:05, Ankit Kumar Pandey <itsankitkp@gmail.com> wrote:
> Also, inputs from other hackers are welcomed here.

I'm with Tom on this.  I've never once used this feature to try to
figure out why a certain plan was chosen or not chosen.

Do you actually have a need for this or are you just trying to tick
off some TODO items?

I'd really rather not see us compiling all that debug code in by
default unless it's actually going to be useful to a meaningful number
of people.

David



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Todo: Teach planner to evaluate multiple windows in the optimal order
Next
From: Thomas Munro
Date:
Subject: RADIUS tests and improvements