Re: BUG #14295: Hot standby crash during tsvector rebuild - Mailing list pgsql-bugs

From Spencer Thomason
Subject Re: BUG #14295: Hot standby crash during tsvector rebuild
Date
Msg-id 49C6FFB8-E531-441B-B556-3530C957FE2A@whiteskycommunications.com
Whole thread Raw
In response to Re: BUG #14295: Hot standby crash during tsvector rebuild  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Dave Page
Date:
Subject: Re: PgAdmin rc-1 Version Backup Errors
Next
From: 阎兆珣
Date:
Subject: language code incompatibility in Windows