Re: Insert query hangs what could be the reason - Mailing list pgsql-general

From dinesh kumar
Subject Re: Insert query hangs what could be the reason
Date
Msg-id CALnrH7oLJLYdREuw=pLpdw9JiTXqakepsEQtcWbpBZnrZ9dwtA@mail.gmail.com
Whole thread Raw
In response to Insert query hangs what could be the reason  (M Tarkeshwar Rao <m.tarkeshwar.rao@ericsson.com>)
List pgsql-general
On Thu, Jun 19, 2014 at 1:59 PM, M Tarkeshwar Rao <m.tarkeshwar.rao@ericsson.com> wrote:
Hi,

Insert query hangs what could be the reason. Is there any way to find out?
Any timeout feature there with query which can be set at client or server end?


It might be due to concurrent primary key/unique key modifications. Try to enable the log_lock_waits in postgresql.conf, which gives you more locks information.

 
Regards
Tarkeshwar


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Oliver
Date:
Subject: Re: Best backup strategy for production systems
Next
From: Khangelani Gama
Date:
Subject: Re: pg_restore: custom archiver unexpected end of file , ERROR: missing data for column