Re: [HACKERS] Killing the backend to cancel a long waiting query - Mailing list pgsql-odbc

From Tom Lane
Subject Re: [HACKERS] Killing the backend to cancel a long waiting query
Date
Msg-id 1469.1063912128@sss.pgh.pa.us
Whole thread Raw
List pgsql-odbc
"Paulo Scardine" <paulos@cimed.ind.br> writes:
> So I hacked a small pggetpid and pgkillpid C functions, and now I can learn
> the backend's PID, start the query in a new thread, and kill the backend
> using another connection if I want.

I trust when you say "kill", you really mean "send SIGINT" ...

            regards, tom lane

pgsql-odbc by date:

Previous
From: "Mikhail Umorin"
Date:
Subject: Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: SUCCESS!
Next
From: Richard Combs
Date:
Subject: Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: