Re: Log a sample of transactions

Поиск
Список
Период
Сортировка
От Adrien NAYRAT
Тема Re: Log a sample of transactions
Дата
Msg-id 9ca67528-1685-f74c-3f48-5840dc7755f2@anayrat.info
обсуждение исходный текст
Ответ на Re: Log a sample of transactions  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-hackers
On 1/16/19 10:09 AM, Masahiko Sawada wrote:
> Since we set xact_is_sampled only when transaction starts and see it
> during transaction we cannot disable logging during transaction and
> vice versa. I can imagine the use case where user wants to disable
> logging during transaction. So it might be better to also check if
> log_xact_sample_rate > 0 in check_log_duration().

I Agree, here is third patch.

Thanks!


Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: speeding up planning with partitions
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Libpq support to connect to standby server as priority