Re: Problems with PG 9.3 - Mailing list pgsql-admin

From Albe Laurenz
Subject Re: Problems with PG 9.3
Date
Msg-id A737B7A37273E048B164557ADEF4A58B17D2CB2C@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to Re: Problems with PG 9.3  (Dhruv Shukla <dhruvshukla82@gmail.com>)
Responses Re: Problems with PG 9.3  (Dhruv Shukla <dhruvshukla82@gmail.com>)
List pgsql-admin
Dhruv Shukla wrote:
> Right now we are doing is only logs where on each statement for a sql function we are raising an info.
> 
> This way we know which step its getting stuck. Today it got stuck on the insert statement.
> 
> And we ran the same SQL function after killing the process, it ran normal without any issues.

That sounds a lot like locking problems.

Examine pg_locks when a process gets stuck an see if it is waiting for a lock
and who is holding the lock.

Yours,
Laurenz Albe

pgsql-admin by date:

Previous
From: Anderson Valadares
Date:
Subject: AIX GCC
Next
From: "liuyuanyuan"
Date:
Subject: 答复: [pgadmin-hackers] OF TYPE without SCHEMA specified in TABLE creation interface