"Gurjeet Singh" <[EMAIL PROTECTED]> writes: > I saw a strange behaviour on one of the production boxes. The > pg_stat_activity shows a process as <IDLE> and yet 'waiting' !!! On top of > it (understandably, since its IDLE), there are no entries for this pid in > pg_locks!
Hmm, I can reproduce something like this by aborting a wait for lock. It seems the problem is that WaitOnLock() is ignoring its own good advice, assuming that it can do cleanup work after waiting. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match