Re: Strange behavior: row won't delete - Mailing list pgsql-general

From Phoenix Kiula
Subject Re: Strange behavior: row won't delete
Date
Msg-id e373d31e0903030923p590c8fd1kd49a7bd5631ad018@mail.gmail.com
Whole thread Raw
In response to Re: Strange behavior: row won't delete  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Strange behavior: row won't delete  (Phoenix Kiula <phoenix.kiula@gmail.com>)
List pgsql-general
On Wed, Mar 4, 2009 at 1:17 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Phoenix Kiula <phoenix.kiula@gmail.com> writes:
>> How can I get rid of these open locks?
>
> Close the transactions that are holding them.  Look into
> pg_stat_activity and pg_prepared_xacts.


Thanks for this. But can I simply delete all the pg_locks table? Or
delete all rows in pg_stat_activity? In my case the _xacts table is
empty. Ideally I don't want to lose pg_stat_activity. I just want to
change a RULE on a table. Is there any place I can do that?

pgsql-general by date:

Previous
From: Phoenix Kiula
Date:
Subject: How to delete all locks? Re: Strange behavior: row won't delete
Next
From: Phoenix Kiula
Date:
Subject: Re: Strange behavior: row won't delete