Re: Killing long-running queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Harris <fbsd@xxxxxxxxxxxxxxx> writes:
> So, I have been searching for a way to kill an individual query.  I read 
> in the mailing list archives that you could 'kill' the pid.  I've tried 
> this a few times and more than once, it has caused the postmaster to 
> die(!), terminating every query that was in process, even unrelated to 
> that query. 

You should be using SIGINT, not SIGTERM.

			regards, tom lane


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux