Re: BUG #8095: postgres acquiring lock on a table when not in transaction

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vaidyand(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8095: postgres acquiring lock on a table when not in transaction
Date: 2013-04-20 21:02:11
Message-ID: 9653.1366491731@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

vaiayand(at)gmail(dot)com writes:
> We investigated one issue and found the following:
> postgres is acquiring a lock on table when not in trancation during prepared
> ROLLBACK statement. It is releasing the acquired lock at end.
> but postgres should not get lock on a table when not in transaction. After
> acquiring any lock, if backend process dies (say SIGTERM signal), the
> postgres will be in lock-not-released state.

Thanks for the report. I believe I've fixed this.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pg 2013-04-22 14:12:41 BUG #8105: names are transformed to lowercase incorrectly
Previous Message E E 2013-04-20 19:19:09 Re: BUG #8056: postgres forgets hstore over time