]> granicus.if.org Git - postgresql/commitdiff
Fix outdated comments
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 2 Dec 2016 13:15:36 +0000 (10:15 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 2 Dec 2016 13:15:36 +0000 (10:15 -0300)
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

index c3b0bf50de75e3f57ca35ef07438488087e25dfb..a94a6b5ad8365e4f9090808b90d5df415906fea5 100644 (file)
@@ -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.
  *