pgsql: pg_stat_activity: show NULL stmt start time for walsenders
В списке pgsql-committers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | pgsql: pg_stat_activity: show NULL stmt start time for walsenders |
| Дата | |
| Msg-id | E1iovoL-0003KI-GH@gemulon.postgresql.org обсуждение |
| Ответы |
Re: pgsql: pg_stat_activity: show NULL stmt start time for walsenders
|
| Список | pgsql-committers |
pg_stat_activity: show NULL stmt start time for walsenders Returning a non-NULL time is pointless, sinc a walsender is not a process that would be running normal transactions anyway, but the code was unintentionally exposing the process start time intermittently, which was not only bogus but it also confused monitoring systems looking for idle transactions. Fix by avoiding all updates in walsenders. Backpatch to 11, where walsenders started appearing in pg_stat_activity. Reported-by: Tomas Vondra Discussion: https://postgr.es/m/20191209234409.exe7osmyalwkt5j4@development Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b175bd59fa54a90d21bc541f812643ac45281b98 Modified Files -------------- src/backend/access/transam/xact.c | 7 +++++++ 1 file changed, 7 insertions(+)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера