[PATCH] fix AddRelsyncInvalidationMessage

Started by Stolpovskikh Danilabout 1 month ago2 messageshackers
Jump to latest
#1Stolpovskikh Danil
d.stolpovskikh@ftdata.ru

Hi, hackers!

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 this type was not done correctly, the wrong field was used(msg.rc instead msg.rs).

Patch attached below.

Best regards
Danil Stolpovskikh

https://ftdata.ru<https://ftdata.ru/>
E-mail: d.stolpovskikh@ftdata.ru<mailto:d.stolpovskikh@ftdata.ru>
[FTData logo для подписи в письме_250]

Attachments:

image001.pngimage/png; name=image001.pngDownload
v1-0001-fix-AddRelsyncInvalidationMessage.patchapplication/octet-stream; name=v1-0001-fix-AddRelsyncInvalidationMessage.patchDownload+3-4
#2Robert Haas
robertmhaas@gmail.com
In reply to: Stolpovskikh Danil (#1)
Re: [PATCH] fix AddRelsyncInvalidationMessage

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 this type 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