Re: How would I "close" a atble? - Mailing list pgsql-admin

From Tena Sakai
Subject Re: How would I "close" a atble?
Date
Msg-id FE44E0D7EAD2ED4BB2165071DB8E328C03062E2D@egcrc-ex01.egcrc.org
Whole thread Raw
In response to How would I "close" a atble?  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-admin

Thank you, Tom!

> Some other session holding an exclusive lock on the table, perhaps?

That is exactly the case.
I see what I must do.  Many thanks.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu


-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Mon 12/17/2007 4:11 PM
To: Tena Sakai
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] How would I "close" a atble?

"Tena Sakai" <tsakai@gallo.ucsf.edu> writes:
> I have a weired situation.  Out of 17 tables which
> comprise a database, one of them refuses to talk to
> me.  When I issue:
>   select * from marker;
> it hangs.

Some other session holding an exclusive lock on the table, perhaps?
Have you looked into pg_locks for matches to that table?

                        regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: How would I "close" a atble?
Next
From: "Phillip Smith"
Date:
Subject: Re: Dump database more than 1 flat file