| От | Alvaro Herrera |
|---|---|
| Тема | Re: Timing events WIP v1 |
| Дата | |
| Msg-id | 20121115201524.GA14789@alvh.no-ip.org обсуждение |
| Ответ на | Timing events WIP v1 (Greg Smith <greg@2ndQuadrant.com>) |
| Список | pgsql-hackers |
Greg Smith wrote: > -The event queue into a simple array accessed in circular fashion. > After realizing that output needed to navigate in the opposite order > of element addition, I ended up just putting all the queue > navigation code directly into the add/output routines. I'd be happy > to use a more formal Postgres type here instead--I looked at > SHM_QUEUE for example--but I haven't found something yet that makes > this any simpler. SHM_QUEUE is on the death row. Try a dlist from src/backend/lib/ilist.c -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера