Re: Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Craig Vosburgh <craig(dot)vosburgh(at)cassatt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1
Date: 2008-05-12 19:11:27
Message-ID: 24530.1210619487@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Craig Vosburgh <craig(dot)vosburgh(at)cassatt(dot)com> writes:
> Second, any words of wisdom to help run to ground who's keeping me from
> getting the lock on the offending row? The row in the lock table that shows
> granted false does not show as belonging to a database or relation (both
> null) so I can't join through to get the table info from pg_table.

What's the locktype? If (as I suspect) it's a transaction or
virtualtransaction lock, then which process holds that lock and what's
it doing? For that matter, what is the stuck process doing?
pg_stat_activity output should be sufficient here.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message D. Dante Lorenso 2008-05-12 19:23:29 Re: Returning RECORD from PGSQL without custom type?
Previous Message Justin 2008-05-12 19:08:11 Re: rounding problems