From: | Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org, William Temperley <willtemperley(at)gmail(dot)com> |
Subject: | Re: <IDLE> in transaction - safest way to kill |
Date: | 2008-12-05 14:25:02 |
Message-ID: | 94263.23327.qm@web23606.mail.ird.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
select pg_cancel_backend(<pid>);
--- On Fri, 5/12/08, William Temperley <willtemperley(at)gmail(dot)com> wrote:
> From: William Temperley <willtemperley(at)gmail(dot)com>
> Subject: [GENERAL] <IDLE> in transaction - safest way to kill
> To: pgsql-general(at)postgresql(dot)org
> 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2008-12-05 14:28:17 | Re: Updatable Views - DEFAULT doesn't inherit from table??? |
Previous Message | Glyn Astill | 2008-12-05 14:23:30 | Planner picking topsey turvey plan? |