Re: [HACKERS] [PATCH] Fix minor race in commit_ts SLRU truncation vslookups
От | Alvaro Herrera |
---|---|
Тема | Re: [HACKERS] [PATCH] Fix minor race in commit_ts SLRU truncation vslookups |
Дата | |
Msg-id | 20170119212734.z3diu76e6alwnek3@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: [HACKERS] [PATCH] Fix minor race in commit_ts SLRU truncation vslookups (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Список | pgsql-hackers |
Peter Eisentraut wrote: > On 12/29/16 4:28 AM, Craig Ringer wrote: > > On 29 December 2016 at 16:51, Craig Ringer <craig@2ndquadrant.com> wrote: > >> On 28 December 2016 at 22:16, Petr Jelinek <petr.jelinek@2ndquadrant.com> wrote: > >> > >>> About the patch, it looks good to me for master with the minor exception > >>> that: > >>>> + appendStringInfo(buf, "pageno %d, xid %u", > >>>> + trunc.pageno, trunc.oldestXid); > >>> > >>> This should probably say oldestXid instead of xid in the text description. > >> > >> Agreed. > > > > Slightly amended attached. > > I've looked over this. It looks correct to me in principle. Thanks, pushed. I added a comment in vacuum.c, as well as removing the memcpy()s of the xlog record, which were unnecessary now that there's an intermediate struct. WAL version bumped. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: