pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Hays Steve - sthays <Steve.Hays@acxiom.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Cannot Drop Schema
Date: Tue, 10 Jun 2008 13:09:11 -0400
Message-ID: <20080610170911.GI5198@alvh.no-ip.org> (raw)
In-Reply-To: <862C6118C84D1C43AE2146394535830607A1A293@CWYMSX06.Corp.Acxiom.net>
References: <862C6118C84D1C43AE2146394535830607A1A293@CWYMSX06.Corp.Acxiom.net>

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



view thread (4+ messages)  latest in thread

Message-ID: <20080610170911.GI5198@alvh.no-ip.org>
Permalink:  ../20080610170911.GI5198@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080610170911.GI5198@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, Steve.Hays@acxiom.com
  Subject: Re: Cannot Drop Schema
  In-Reply-To: <20080610170911.GI5198@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox