Re: Sync Rep v19
| От | Simon Riggs |
|---|---|
| Тема | Re: Sync Rep v19 |
| Дата | |
| Msg-id | 1299327686.10703.11428.camel@ebony обсуждение исходный текст |
| Ответ на | Re: Sync Rep v19 (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: Sync Rep v19
|
| Список | pgsql-hackers |
On Sat, 2011-03-05 at 11:04 +0000, Simon Riggs wrote: > > + /* > > + * Assume the queue is ordered by LSN > > + */ > > + if (XLByteLT(walsndctl->lsn, proc->waitLSN)) > > + return numprocs; > > > > The code to ensure the assumption needs to be added. > > Yes, just need to add the code for traversing list backwards. I've added code to shmqueue.c to allow this. New version pushed. -- Simon Riggs http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services
В списке pgsql-hackers по дате отправления: