Search Postgresql Archives

Re: <IDLE> in transaction - safest way to kill

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

 



select pg_cancel_backend(<pid>);


--- On Fri, 5/12/08, William Temperley <willtemperley@xxxxxxxxx> wrote:

> From: William Temperley <willtemperley@xxxxxxxxx>
> Subject:  <IDLE> in transaction - safest way to kill
> To: pgsql-general@xxxxxxxxxxxxxx
> Date: Friday, 5 December, 2008, 2:08 PM
> Hi all
> 
> Could anyone tell me what's the best thing to with idle
> transactions
> that are holding locks?
> 
> I just killed the process as I wanted to get on with some
> work. I'm
> just not sure this is a good idea when we go into
> production.
> 
> Cheers
> 
> Will T
> 
> -- 
> Sent via pgsql-general mailing list
> (pgsql-general@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general




-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux