mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Cancel running query if it is detected that the connection to the client is
lost. The only way we detect that at the moment is when write() fails when we try to write to the socket. Florian Pflug with small changes by me, reviewed by Greg Jaskiewicz.
This commit is contained in:
@@ -29,6 +29,7 @@ ProtocolVersion FrontendProtocol;
|
||||
volatile bool InterruptPending = false;
|
||||
volatile bool QueryCancelPending = false;
|
||||
volatile bool ProcDiePending = false;
|
||||
volatile bool ClientConnectionLost = false;
|
||||
volatile bool ImmediateInterruptOK = false;
|
||||
volatile uint32 InterruptHoldoffCount = 0;
|
||||
volatile uint32 CritSectionCount = 0;
|
||||
|
Reference in New Issue
Block a user