Re: Logging query parmeters in auto_explain

Поиск
Список
Период
Сортировка
От Dagfinn Ilmari Mannsåker
Тема Re: Logging query parmeters in auto_explain
Дата
Msg-id 87fsjql51e.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответ на Re: Logging query parmeters in auto_explain  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Ответы Re: Logging query parmeters in auto_explain  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> writes:

> Michael Paquier <michael@paquier.xyz> writes:
>
>> On Thu, Jun 09, 2022 at 11:55:11PM +0100, Dagfinn Ilmari Mannsåker wrote:
>>> Done (and more tests added), v3 attached.
>>
>> One thing I am wondering is if we'd better mention errdetail_params()
>> at the top of the initial check done in ExplainQueryParameters().
>> That's a minor issue, though.
>>
>> +sub query_log
>> +{
>> Perhaps a short description at the top of this routine to explain it
>> is worth it?
>
> Done. I also moved the function to the bottom of the file, to avoid
> distracting from the actual test queries.

I forgot to mention, I also changed the order of the query and
parameters, so that they can more naturally be left out when no changes
are needed.

- ilmari



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dagfinn Ilmari Mannsåker
Дата:
Сообщение: Re: Logging query parmeters in auto_explain
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Add non-blocking version of PQcancel