Re: add a new explain option including_query for include query string inside the json plan output - Mailing list pgsql-hackers

From Tom Lane
Subject Re: add a new explain option including_query for include query string inside the json plan output
Date
Msg-id 1319007.1719325433@sss.pgh.pa.us
Whole thread Raw
In response to Re: add a new explain option including_query for include query string inside the json plan output  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
List pgsql-hackers
Matthias van de Meent <boekewurm+postgres@gmail.com> writes:
> On Tue, 25 Jun 2024 at 10:55, jian he <jian.universality@gmail.com> wrote:
>> for json format, add a new option to let the explain json output also
>> include the actual query string.

> Wouldn't the user be able to keep track of the query they wanted
> explained by themselves? If not, why?

Indeed.  I do not think this is a good idea at all, even if the
question of "where did you get the query string from" could be
resolved satisfactorily.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: improve ssl error code, 2147483650
Next
From: Tom Lane
Date:
Subject: Re: Backporting BackgroundPsql