| От | Alvaro Herrera |
|---|---|
| Тема | Re: separating use of SerialSLRULock |
| Дата | |
| Msg-id | 202401301716.j25ydffwdyjk@alvherre.pgsql обсуждение |
| Ответ на | Re: separating use of SerialSLRULock (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
| Список | pgsql-hackers |
On 2024-Jan-29, Alvaro Herrera wrote: > It's terrifying that SerialAdd() doesn't seem to be covered by any > tests, though. I realized that there's some coverage when compiling with TEST_SUMMARIZE_SERIAL, so I tried that and it looks OK. One other change I made was in the comment that explains the locking order. I had put the new lock at the top, but when I tested adding some asserts to verify that the other locks are not held, they turn out to fire soon enough ... and the conflicting lock is the last one of that list. So I added the new lock below it, and the SLRU lock further down, because SerialAdd does it that way. I pushed it now. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера