Re: Does anyone ever use OPTIMIZER_DEBUG?

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Does anyone ever use OPTIMIZER_DEBUG?
Date: 2023-10-08 21:26:38
Message-ID: CAApHDvpzRrmzA2nv0N_ehMD1ajDQto+EpjLzfWoOW=qVu6eRRw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 3 Oct 2023 at 12:29, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
>
> On Fri, 29 Sept 2023 at 10:59, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > We could also discuss keeping the "tracing" aspect of it, but
> > replacing debug_print_rel with pprint(rel), which'd still allow
> > removal of all the "DEBUG SUPPORT" stuff at the bottom of allpaths.c.
> > That's pretty much all of the maintenance-requiring stuff in it.
>
> To assist discussion, I've attached a patch for that.

It looks like nobody is objecting to this. I understand that not
everyone who might object will have read this email thread, so what I
propose to do here is move along and just commit the patch to swap out
debug_print_rel and use pprint instead. If that's done now then there
are around 10 months where we could realistically revert this again if
someone were to come forward with an objection.

Sound ok?

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-10-08 21:28:25 Re: Does anyone ever use OPTIMIZER_DEBUG?
Previous Message Gurjeet Singh 2023-10-08 20:01:00 Re: [PoC/RFC] Multiple passwords, interval expirations