[PATCH] fix AddRelsyncInvalidationMessage

Stolpovskikh Danil <d.stolpovskikh@ftdata.ru>

From: Stolpovskikh Danil <d.stolpovskikh@ftdata.ru>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Cc: Bykov Ivan <i.bykov@ftdata.ru>, Lozhkov Alexander <A.Lozhkov@ftdata.ru>
Date: 2026-06-11T11:44:32Z
Lists: pgsql-hackers

Attachments

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]

Commits

  1. Fix type confusion in AddRelsyncInvalidationMessage