Re: Cleanly cancel a query. - Mailing list pgsql-general

From Tom Lane
Subject Re: Cleanly cancel a query.
Date
Msg-id 12184.992037487@sss.pgh.pa.us
Whole thread Raw
In response to Cleanly cancel a query.  (Dennis <dennis@zserve.com>)
List pgsql-general
Dennis <dennis@zserve.com> writes:
> Is there a way to cleanly shut down that query from the client or admin
> side?

From the client: send a query-cancel request (for example, typing ^C
in psql usually does this).

From the admin: send a SIGINT to the backend running the query, which
has the same effect as a query-cancel request.

            regards, tom lane

pgsql-general by date:

Previous
From: "Tad Naworal"
Date:
Subject: total newbie question
Next
From: "Nikola Milutinovic"
Date:
Subject: PostgreSQL problem with functions