postgres.git / summary / log / commit / refs
commit 5e5986b6cbebcb57e6c95463031eef01e099e7e1
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Fri Dec 02 13:15:36 2016 +0000
Fix outdated comments
Commit 597a87ccc9a6f neglected to update some comments; fix.
Report and patch by Thomas Munro.
Reviewed by Petr JelĂnek.
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c b/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
index c3b0bf50de7..a94a6b5ad83 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.
*
[parent: b460f5d66931]