Re: Cannot Drop Schema

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Hays Steve - sthays <Steve(dot)Hays(at)acxiom(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Cannot Drop Schema
Date: 2008-06-10 17:09:11
Message-ID: 20080610170911.GI5198@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hays Steve - sthays wrote:
> There is a schema we created and has been in use for several months that
> now seems to have some objects that cannot be dropped. When I attempt to
> drop a suspect table in this schema, the process just runs, as though it
> is being blocked by an active DML process, but this is even after a
> server restart.

Maybe you have prepared transactions. Look in the pg_prepared_xacts
view, and issue ROLLBACK PREPARED or COMMIT PREPARED if so.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2008-06-10 19:09:52 Re: error handling unique key constraint in pgsql
Previous Message Travis Smith 2008-06-10 16:54:02 Re: Cannot Drop Schema