Do not return from PQrequestCancel until postmaster has finished
processing the request; this ensures that the request won't be taken to cancel a subsequently-issued query. Race condition originally noted by Oliver Jowett in the context of JDBC, but libpq has it too.
Showing
Please register or sign in to comment