Fix outdated comments
Commit 597a87ccc9a6f neglected to update some comments; fix. Report and patch by Thomas Munro. Reviewed by Petr Jelínek.
This commit is contained in:
parent
b460f5d669
commit
5e5986b6cb
@ -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.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user