Re: add a new explain option including_query for include query string inside the json plan output

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: add a new explain option including_query for include query string inside the json plan output
Дата
Msg-id 1319007.1719325433@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 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>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: improve ssl error code, 2147483650
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Backporting BackgroundPsql