"Paulo Scardine" <paulos@cimed.ind.br> writes:
>> I trust when you say "kill", you really mean "send SIGINT" ...
> I'm sending a SIGTERM. Would SIGINT be more appropriate?
Yes --- that would actually cancel the query, not cause the backend to
shut down.
regards, tom lane