Re: BUG #6450: PQexec stuck. - Mailing list pgsql-bugs

From Kevin Grittner
Subject Re: BUG #6450: PQexec stuck.
Date
Msg-id 4F33A8130200002500045109@gw.wicourts.gov
Whole thread Raw
In response to BUG #6450: PQexec stuck.  (vipul.patel@elitecore.com)
Responses Re: BUG #6450: PQexec stuck.
List pgsql-bugs
<vipul.patel@elitecore.com> wrote:

> some time call of create table is stuck which is called by PQexec.

What locks and blocking do you see when this happens?

http://wiki.postgresql.org/wiki/Lock_Monitoring'

Have you considered getting an explicit lock with NOWAIT at the
start of your transaction, to test whether you can currently acquire
the rights to proceed?

> in current stat the PQexec will stuck till anyone not vacume and
> reindexing the DB.

I've never seen such a situation.  Are you sure that's really
needed, as opposed to something that just takes long enough that the
issue has cleared by the time you're finished with these steps?

-Kevin

pgsql-bugs by date:

Previous
From: srinivas879@gmail.com
Date:
Subject: BUG #6451: problem while installing gridsql
Next
From: John R Pierce
Date:
Subject: Re: BUG #6451: problem while installing gridsql