Re: Cannot DROP while process running

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Horn <steve(at)stevehorn(dot)cc>
Cc: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Cannot DROP while process running
Date: 2012-04-11 19:57:17
Message-ID: 153.1334174237@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Steve Horn <steve(at)stevehorn(dot)cc> writes:
> Restarted the PG service before reading your email, so I can't verify - but
> your idea about uncomitted prepared transactions may be the culprit.

A prepared transaction would persist through a restart, so if your
problem is now gone then I think we can eliminate that theory. What
seems most likely to me now is that you had some client that was sitting
on a lot of AccessShare locks in an open transaction.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Ken Benson 2012-04-12 13:44:29 PgOLEDB.dll
Previous Message Steve Horn 2012-04-11 19:19:54 Re: Cannot DROP while process running