pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
All ops on one particular table cause a hang?
3+ messages / 2 participants
[nested] [flat]

* All ops on one particular table cause a hang?
@ 2004-09-19 21:16 Robb Shecter <robb@acm.org>
  2004-09-19 21:37 ` Re: All ops on one particular table cause a hang? Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Robb Shecter @ 2004-09-19 21:16 UTC (permalink / raw)
  To: pgsql-admin

I just created a table, but now cannot access it or even drop it.  I can 
access all the other tables in the database just fine.  But any client 
command or app (like pg_dumpall) that references this new table hang. 

I looked through the docs and FAQ for a any mention of this, or a way to 
repair or drop a table some other way, but can't find it.

Thanks for any ideas.
Robb



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: All ops on one particular table cause a hang?
  2004-09-19 21:16 All ops on one particular table cause a hang? Robb Shecter <robb@acm.org>
@ 2004-09-19 21:37 ` Tom Lane <tgl@sss.pgh.pa.us>
  2004-09-19 21:55   ` Re: All ops on one particular table cause a hang? Robb Shecter <robb@acm.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2004-09-19 21:37 UTC (permalink / raw)
  To: Robb Shecter <robb@acm.org>; +Cc: pgsql-admin

Robb Shecter <robb@acm.org> writes:
> I just created a table, but now cannot access it or even drop it.  I can 
> access all the other tables in the database just fine.  But any client 
> command or app (like pg_dumpall) that references this new table hang. 

Maybe you've got a session that is holding an exclusive lock on that
table?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: All ops on one particular table cause a hang?
  2004-09-19 21:16 All ops on one particular table cause a hang? Robb Shecter <robb@acm.org>
  2004-09-19 21:37 ` Re: All ops on one particular table cause a hang? Tom Lane <tgl@sss.pgh.pa.us>
@ 2004-09-19 21:55   ` Robb Shecter <robb@acm.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robb Shecter @ 2004-09-19 21:55 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

Tom Lane wrote:

>Maybe you've got a session that is holding an exclusive lock on that
>table?
>  
>
Yes - you are absolutely right.  I had an application that did not 
properly close its database connection...

Thanks!
Robb



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2004-09-19 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-09-19 21:16 All ops on one particular table cause a hang? Robb Shecter <robb@acm.org>
2004-09-19 21:37 ` Tom Lane <tgl@sss.pgh.pa.us>
2004-09-19 21:55   ` Robb Shecter <robb@acm.org>

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