Re: Cannot Drop Schema - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: Cannot Drop Schema
Date
Msg-id 20080610170911.GI5198@alvh.no-ip.org
Whole thread Raw
In response to Cannot Drop Schema  ("Hays Steve - sthays" <Steve.Hays@acxiom.com>)
List 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

pgsql-admin by date:

Previous
From: Travis Smith
Date:
Subject: Re: Cannot Drop Schema
Next
From: Dinesh
Date:
Subject: error handling unique key constraint in pgsql