pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hima Surapaneni <hbsur1@student.monash.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: Can't drop table
Date: Sun, 02 Jul 2006 23:23:41 -0400
Message-ID: <22479.1151897021@sss.pgh.pa.us> (raw)
In-Reply-To: <203.39.118.63.1151878450@my.monash.edu.au>
References: <203.39.118.63.1151878450@my.monash.edu.au>

Hima Surapaneni <hbsur1@student.monash.edu> writes:
> The query was successful. But when I try to drop or alter the table, it just hangs without echoing any error message. I have to cancel the query to get out.

Sounds like there's some open transaction with a lock on the table.
The pg_locks view might help you figure out which one.

			regards, tom lane



view thread (3+ messages)

Message-ID: <22479.1151897021@sss.pgh.pa.us>
Permalink:  ../22479.1151897021@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22479.1151897021@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hbsur1@student.monash.edu
  Subject: Re: Can't drop table
  In-Reply-To: <22479.1151897021@sss.pgh.pa.us>

* 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