| From: | Andrew Sullivan <ajs(at)crankycanuck(dot)ca> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: SIGNALNAME in "pg_ctl kill" |
| Date: | 2011-11-09 22:22:06 |
| Message-ID: | 20111109222206.GQ82668@shinkuro.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Wed, Nov 09, 2011 at 03:02:00PM -0700, Gauthier, Dave wrote:
> pg_ctl --help lists the various SIGNALNAME options to use with "pg_ctk kill"...
>
> Allowed signal names for kill:
> HUP INT QUIT ABRT TERM USR1 USR2
>
> I can't find a description of what each does. I'd like to abort just the procpid I enter, but using ABRT has a tendancy to kill lots of other stuff too.
It's a little hard to find, but what various signals do to the back
end is contained in the postgres (server process) manual page:
http://www.postgresql.org/docs/9.1/interactive/app-postgres.html
I suspect the line you want is, "To cancel a running query, send the
SIGINT signal to the process running that command."
A
--
Andrew Sullivan
ajs(at)crankycanuck(dot)ca
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Treat | 2011-11-09 22:26:50 | Re: SIGNALNAME in "pg_ctl kill" |
| Previous Message | Emanuel Calvo | 2011-11-09 22:20:05 | Weird waste time when UNION ALL to an empty result set |