Re: BUG #14295: Hot standby crash during tsvector rebuild
От | Spencer Thomason |
---|---|
Тема | Re: BUG #14295: Hot standby crash during tsvector rebuild |
Дата | |
Msg-id | 49C6FFB8-E531-441B-B556-3530C957FE2A@whiteskycommunications.com обсуждение исходный текст |
Ответ на | Re: BUG #14295: Hot standby crash during tsvector rebuild (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-bugs |
Hi Tom, I've been testing this from some time and this appears to resolve the issue= . Thanks for the quick fix! Best regards, Spencer > On Sep 3, 2016, at 8:49 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >=20 > I wrote: >> I've now traced it to this bit in gindatapage.c: >=20 > The attached patch (against 9.4) should be sufficient to fix this problem= . > Perhaps you can do some testing there while I'm doing the same. >=20 > regards, tom lane >=20 > diff --git a/src/backend/access/gin/gindatapage.c b/src/backend/access/gi= n/gindatapage.c > index 2090209..77725ac 100644 > --- a/src/backend/access/gin/gindatapage.c > +++ b/src/backend/access/gin/gindatapage.c > @@ -86,7 +86,7 @@ typedef struct > char action; >=20 > ItemPointerData *modifieditems; > - int nmodifieditems; > + uint16 nmodifieditems; >=20 > /* > * The following fields represent the items in this segment. If 'items' = is
В списке pgsql-bugs по дате отправления: