Re: Cleanly cancel a query.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dennis(at)zserve(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cleanly cancel a query.
Date: 2001-06-08 21:58:07
Message-ID: 12184.992037487@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dennis <dennis(at)zserve(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Josh Berkus 2001-06-08 22:03:15 Re: maximum number of rows in table - what about oid limits?
Previous Message Vivek Khera 2001-06-08 21:43:03 Re: error starting postmaster