Thread

Commits

  1. Fix type confusion in AddRelsyncInvalidationMessage

  1. [PATCH] fix AddRelsyncInvalidationMessage

    Stolpovskikh Danil <d.stolpovskikh@ftdata.ru> — 2026-06-11T11:44:32Z

    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]
    
    
  2. Re: [PATCH] fix AddRelsyncInvalidationMessage

    Robert Haas <robertmhaas@gmail.com> — 2026-06-11T21:18:43Z

    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