Re: explain vs auto_explain - Mailing list pgsql-general

From David G. Johnston
Subject Re: explain vs auto_explain
Date
Msg-id CAKFQuwY0SSLdm7KLmRVouXD_2=60-oOsdXfF56gx9n=bNhvWnw@mail.gmail.com
Whole thread Raw
In response to Re: explain vs auto_explain  (Vijaykumar Jain <vijaykumarjain.github@gmail.com>)
Responses Re: explain vs auto_explain
List pgsql-general
On Sat, Oct 19, 2024 at 10:43 AM Vijaykumar Jain <vijaykumarjain.github@gmail.com> wrote:
i tried to check the code for auto_explain , there is nothing that helps understand why it was provided as a separate .

Probably because output to log was easier than reworking the internals to make output to client happen.

If you are interested in working on a patch to address your use case I say go for it.  Designing the inputs and outputs actually doesn't seem that challenging, if exceptionally vulnerable to bike-shedding.  But I imagine the internals are quite a different matter.

David J.

pgsql-general by date:

Previous
From: Vijaykumar Jain
Date:
Subject: Re: explain vs auto_explain
Next
From: Tom Lane
Date:
Subject: Re: explain vs auto_explain