mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Fix outdated comments
Commit 597a87ccc9 neglected to update some comments; fix.
Report and patch by Thomas Munro.
Reviewed by Petr Jelínek.
This commit is contained in:
@@ -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.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user