Skip site navigation (1) Skip section navigation (2)

Re: How to release a transaction lock on a table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "info" <info(at)el-ixir(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to release a transaction lock on a table
Date: 2009-01-08 18:46:08
Message-ID: 18857.1231440368@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"info" <info(at)el-ixir(dot)com> writes:
> I have some open locks on some table in my postgre data base. I have closed every application, I have restarted the DB, and I have also restart the server machine itself. but the lock is still their.

select * from pg_prepared_xacts;

commit or rollback as appropriate

			regards, tom lane

In response to

Responses

pgsql-novice by date

Next:From: kulmacet101Date: 2009-01-08 19:34:49
Subject: invalid byte sequence for encoding "UTF8":
Previous:From: infoDate: 2009-01-08 17:37:50
Subject: How to release a transaction lock on a table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group