pgsql: Fix type confusion in AddRelsyncInvalidationMessage - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix type confusion in AddRelsyncInvalidationMessage
Date
Msg-id E1wXmmv-0023Vf-1X@gemulon.postgresql.org
Whole thread
List 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.stolpovskikh@ftdata.ru>
Co-authored-by: Robert Haas <rhaas@postgresql.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(-)


pgsql-committers by date:

Previous
From: Álvaro Herrera
Date:
Subject: pgsql: IS JSON/JSON(): Protect against expressions uncoercible to text
Next
From: Fujii Masao
Date:
Subject: pgsql: Fix md5_password_warnings for role and database settings