| От | Anton A. Melnikov |
|---|---|
| Тема | Re: shared-memory based stats collector - v70 |
| Дата | |
| Msg-id | a13e8cdf-b97a-4ecb-8f42-aaa367974e29@postgrespro.ru обсуждение |
| Ответ на | Re: shared-memory based stats collector - v70 ("Drouvot, Bertrand" <bdrouvot@amazon.com>) |
| Ответы |
Re: shared-memory based stats collector - v70
|
| Список | pgsql-hackers |
Hi! Found a place in the code of this patch that is unclear to me: https://github.com/postgres/postgres/blob/1acf10549e64c6a52ced570d712fcba1a2f5d1ec/src/backend/utils/activity/pgstat.c#L1658 Owing assert() the next if() should never be performed, but the comment above says the opposite. Is this assert really needed here? And if so, for what? Would be glad for clarification. With the best regards, -- Anton A. Melnikov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера