From: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Fri, 2 Dec 2016 13:15:36 +0000 (-0300)
Subject: Fix outdated comments
X-Git-Tag: REL_10_BETA1~1328
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e5986b6cbebcb57e6c95463031eef01e099e7e1;p=postgresql

Fix outdated comments

Commit 597a87ccc9a6f neglected to update some comments; fix.

Report and patch by Thomas Munro.
Reviewed by Petr JelĂ­nek.
---

diff --git a/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c b/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
index c3b0bf50de..a94a6b5ad8 100644
--- a/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
+++ b/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
@@ -388,15 +388,12 @@ libpqrcv_readtimelinehistoryfile(WalReceiverConn *conn,
 
 /*
  * Send a query and wait for the results by using the asynchronous libpq
- * functions and the backend version of select().
+ * functions and socket readiness events.
  *
  * We must not use the regular blocking libpq functions like PQexec()
  * since they are uninterruptible by signals on some platforms, such as
  * Windows.
  *
- * We must also not use vanilla select() here since it cannot handle the
- * signal emulation layer on Windows.
- *
  * The function is modeled on PQexec() in libpq, but only implements
  * those parts that are in use in the walreceiver.
  *