Commit 5e5986b6 authored by Alvaro Herrera's avatar Alvaro Herrera

Fix outdated comments

Commit 597a87cc neglected to update some comments; fix.

Report and patch by Thomas Munro.
Reviewed by Petr Jelínek.
parent b460f5d6
...@@ -388,15 +388,12 @@ libpqrcv_readtimelinehistoryfile(WalReceiverConn *conn, ...@@ -388,15 +388,12 @@ libpqrcv_readtimelinehistoryfile(WalReceiverConn *conn,
/* /*
* Send a query and wait for the results by using the asynchronous libpq * 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() * We must not use the regular blocking libpq functions like PQexec()
* since they are uninterruptible by signals on some platforms, such as * since they are uninterruptible by signals on some platforms, such as
* Windows. * 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 * The function is modeled on PQexec() in libpq, but only implements
* those parts that are in use in the walreceiver. * those parts that are in use in the walreceiver.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment