Correction ... and for devices they usually just start with a BEGIN TRANSACTION.
Real thing is that when this happens, I'm several kilometers away, with no remote access (yet at least), and since it is a production system as soon as something like this happens they need to get it back up asap. I find it extremely difficult to be able to gather that data. Besides that I'm not familiar with the procedure of attaching to someone else's process in windows.
It is a 8.4.2 postgres running in windows 2003 server.
Im tempted in upgrading to 8.4.latest, since it should not require a full backup/restore and practically no server downtime.
But i'm not sure about the real gain of that.
On Thu, Sep 2, 2010 at 2:56 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Eduardo Piombino <drakorg@xxxxxxxxx> writes:That's truly bizarre. Can you attach to one of these stuck processes
> Do you have any idea on what could be causing a SELECT NOW() to never come
> back?
with a debugger and get a stack trace?
regards, tom lane