Re: [PATCH] fix AddRelsyncInvalidationMessage - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PATCH] fix AddRelsyncInvalidationMessage
Date
Msg-id CA+Tgmoa1HXnAEWqkwuTX32R-SmO+yxZDL1Pez7+qE7fXgQ=ksw@mail.gmail.com
Whole thread
List pgsql-hackers
On Thu, Jun 11, 2026 at 7:44 AM Stolpovskikh Danil
<d.stolpovskikh@ftdata.ru> wrote:
> I found a small problem in the AddRelsyncInvalidationMessage function of the inval.c module.
>
> A year ago, a patch was added that added a new type of message (SHAREDINVALRELSYNC_ID) and filling in messages of
thistype was not done correctly, the wrong field was used(msg.rc instead msg.rs). 

I think you're correct, but a similar mistake also occurs just a few
lines earlier. I have pushed 99db753c656 to fix both things.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Key joins
Next
From: "Matheus Alcantara"
Date:
Subject: Re: LLVM JIT: any JIT-compiled query crashes (SIGILL) on a libLLVM 19 + ASAN build