"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:> The problem with this is that PQrequestCancel() is not thread-safe.
What is your basis for asserting that?
regards, tom lane