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

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: (view raw, whole thread or download thread mbox)
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

pgsql-novice by date

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

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