[HACKERS] Fix comment in shm_mq.c - Mailing list pgsql-hackers

From Masahiko Sawada
Subject [HACKERS] Fix comment in shm_mq.c
Date
Msg-id CAD21AoD_DRfvGvB3UYMpG=TOozJP7+TQFLg4+dCeGYyBKQ3Zxg@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] Fix comment in shm_mq.c
List pgsql-hackers
Hi,

Attached patch for $subject.

/*
 * Set sender's latch, unless queue is detached.
 */
static shm_mq_result
shm_mq_notify_receiver(volatile shm_mq *mq)

I think shm_mq_notify_receiver() sets receiver's latch actually, not
sender's latch.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] logical replication busy-waiting on a lock
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] walsender termination error messages worse in v10