Re: bug reapper: Empty query_id in pg_stat_activity

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: bug reapper: Empty query_id in pg_stat_activity
Дата
Msg-id CAKAnmmLYvGuDD1k1gqgSdYzhhZGdz32bS-mo8ZF40Fw7UxtG7w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: bug reapper: Empty query_id in pg_stat_activity  (Srinath Reddy Sadipiralla <srinath2133@gmail.com>)
Ответы Re: bug reapper: Empty query_id in pg_stat_activity
Список pgsql-bugs
On Thu, Aug 28, 2025 at 8:25 AM Srinath Reddy Sadipiralla <srinath2133@gmail.com> wrote:
The fix I tried is to retain the previous query_id (prev_st_query_id) and return it when st_query_id is still 0 but query_id computation is enabled, thoughts?

This just moves the race condition around a little - you can end up with a query that does not agree with its query_id.

 
Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

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