summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/storage/ipc/sinval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/ipc/sinval.c b/src/backend/storage/ipc/sinval.c
index ff45c03b473..b0cfc8be696 100644
--- a/src/backend/storage/ipc/sinval.c
+++ b/src/backend/storage/ipc/sinval.c
@@ -88,9 +88,9 @@ ReceiveSharedInvalidMessages(
/* Deal with any messages still pending from an outer recursion */
while (nextmsg < nummsgs)
{
- SharedInvalidationMessage *msg = &messages[nextmsg++];
+ SharedInvalidationMessage msg = messages[nextmsg++];
- invalFunction(msg);
+ invalFunction(&msg);
}
do
@@ -116,9 +116,9 @@ ReceiveSharedInvalidMessages(
while (nextmsg < nummsgs)
{
- SharedInvalidationMessage *msg = &messages[nextmsg++];
+ SharedInvalidationMessage msg = messages[nextmsg++];
- invalFunction(msg);
+ invalFunction(&msg);
}
/*