Re: Issue with UPDATE statement on v8 - Mailing list pgsql-sql

From Tom Lane
Subject Re: Issue with UPDATE statement on v8
Date
Msg-id 15676.1127422090@sss.pgh.pa.us
Whole thread Raw
In response to Issue with UPDATE statement on v8  ("Kenneth Hutchinson" <kenneth.hutchinson@mpfyieldstar.com>)
List pgsql-sql
"Kenneth Hutchinson" <kenneth.hutchinson@mpfyieldstar.com> writes:
> UPDATE t_summary
> SET        availability = 7
> WHERE  oid = 28245084

> When this query is executed (within a function or without) the database
> will simply hang.

Is it really hung, or just taking an awfully long time?  If the backend
is consuming no CPU or I/O then I'd agree it's the former; please look
into the pg_locks view to see if you can find out what it's waiting for.
If it's the latter, maybe you neglected to create an index on OID?

> Has anyone else experienced a similar issue?

We'd certainly have heard about it if so.  But you haven't provided
enough info to let anyone reproduce the problem for investigation.
        regards, tom lane


pgsql-sql by date:

Previous
From: Rajesh Kumar Mallah
Date:
Subject: Re: Help with a view
Next
From: Rajesh Kumar Mallah
Date:
Subject: Re: Issue with UPDATE statement on v8