Fix comment in shm_mq.c

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix comment in shm_mq.c
Date: 2017-06-09 01:58:19
Message-ID: CAD21AoD_DRfvGvB3UYMpG=TOozJP7+TQFLg4+dCeGYyBKQ3Zxg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Attachment Content-Type Size
fix_comment_in_shm_mq_c.patch application/octet-stream 448 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2017-06-09 02:26:47 Re: walsender termination error messages worse in v10
Previous Message Petr Jelinek 2017-06-09 01:20:03 Re: logical replication busy-waiting on a lock