From e397d2ee6474865becb8f99ac28586736788f1f2 Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Thu, 10 Mar 2011 15:00:20 -0500
Subject: [PATCH] Remove obsolete comment.

In earlier versions of the sync rep patch, waiters removed themselves from
the queue, but now walsender removes them before doing the wakeup.

Report by Fujii Masao.
---
 src/include/replication/walsender.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/include/replication/walsender.h b/src/include/replication/walsender.h
index 8a8c9398d1c..2e5b2096ead 100644
--- a/src/include/replication/walsender.h
+++ b/src/include/replication/walsender.h
@@ -74,8 +74,7 @@ typedef struct
 
 	/*
 	 * Current location of the head of the queue. All waiters should have
-	 * a waitLSN that follows this value, or they are currently being woken
-	 * to remove themselves from the queue. Protected by SyncRepLock.
+	 * a waitLSN that follows this value. Protected by SyncRepLock.
 	 */
 	XLogRecPtr	lsn;
 
-- 
GitLab