From 5e5986b6cbebcb57e6c95463031eef01e099e7e1 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera <alvherre@alvh.no-ip.org> Date: Fri, 2 Dec 2016 10:15:36 -0300 Subject: [PATCH] Fix outdated comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 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. * -- 2.40.0