pgsql: Fix type confusion in AddRelsyncInvalidationMessage

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix type confusion in AddRelsyncInvalidationMessage
Date: 2026-06-11 21:18:09
Message-ID: E1wXmmv-0023Vf-1X@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix type confusion in AddRelsyncInvalidationMessage

Since this is trying to add a SharedInvalRelSyncMsg rather than
a SharedInvalRelcacheMsg, it should use rs rather than rc.

This makes no difference as things stand, because the two structure
definitions are identical (except for the capitalization of "relid"),
but it's still a good idea to fix it.

Co-authored-by: Stolpovskikh Danil <d(dot)stolpovskikh(at)ftdata(dot)ru>
Co-authored-by: Robert Haas <rhaas(at)postgresql(dot)org>
Discussion: http://postgr.es/m/bd6a5735b72b4afe99af49c3c62901d6@localhost.localdomain

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/99db753c656946bfd1d4ddd3978ebfcee6fb86c0

Modified Files
--------------
src/backend/utils/cache/inval.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-06-11 23:33:57 pgsql: Fix md5_password_warnings for role and database settings
Previous Message Álvaro Herrera 2026-06-11 16:34:45 pgsql: Fix translatable string construction