summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-12-02 10:15:36 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-12-02 10:15:36 -0300
commit5e5986b6cbebcb57e6c95463031eef01e099e7e1 (patch)
tree057a3439a16d857f68cb14171176fab58dac2508
parentb460f5d6693103076dc554aa7cbb96e1e53074f9 (diff)
Fix outdated comments
Commit 597a87ccc9a6f neglected to update some comments; fix. Report and patch by Thomas Munro. Reviewed by Petr JelĂ­nek.
-rw-r--r--src/backend/replication/libpqwalreceiver/libpqwalreceiver.c5
1 files changed, 1 insertions, 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.
*