Re: Lost Access To Table

From: "Booth, Robert" <Robert_Booth(at)intuit(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pgsql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Lost Access To Table
Date: 2002-06-04 23:37:07
Message-ID: 419D2EB7B461D411A53B00508B69181D0623252E@sdex02.sd.intuit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The client that is running the query hangs up, no response. If I'm doing
this is psql then Ctrl-C will break out of it. I have regained
functionality by shutting down and restarting the postmaster, but I was only
able to do this because this is my development machine.

If there was an open transaction how can I detect it and see if it's valid?

Rob

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Tuesday, June 04, 2002 4:28 PM
> To: Booth, Robert
> Cc: Pgsql-General
> Subject: Re: [GENERAL] Lost Access To Table
>
>
> "Booth, Robert" <Robert_Booth(at)intuit(dot)com> writes:
> > I have a strange problem. I have lost the ability to query
> a table. Every
> > time I try to query it the system just hangs.
>
> Please define "hang" --- is the whole system locked up, or do you just
> not get a response to that query? What do you do to recover?
>
> My bet is that there's an open transaction somewhere holding an
> exclusive lock on the table ...
>
> regards, tom lane
>

Browse pgsql-general by date

  From Date Subject
Next Message Hunter Hillegas 2002-06-05 02:27:33 Postgres 7.2.1 Really Spinning the CPU
Previous Message Tom Lane 2002-06-04 23:34:26 Re: Char = varchar