Skip site navigation (1) Skip section navigation (2)

Re: Question about ALTER TABLE DROP CONSTRAINT on 9.1 -- psql crashes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Williamson <gwilliamson39(at)yahoo(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Question about ALTER TABLE DROP CONSTRAINT on 9.1 -- psql crashes
Date: 2012-08-10 02:06:57
Message-ID: 10482.1344564417@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Greg Williamson <gwilliamson39(at)yahoo(dot)com> writes:
> Every minute on the minute there is a cronjob that kills IDLE IN CONNECTION procs older than 3 seconds ... possibly that process killed the process I was running, but to me the user it seemed as if the COMMIT came before the disconnect.

That sure sounds like the source of your problem.  It might be sane if
it killed only processes that *had been idle* for at least three
seconds, but I'm not sure there is any easy way to determine that ...

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Craig RingerDate: 2012-08-10 02:24:40
Subject: Re: Question about ALTER TABLE DROP CONSTRAINT on 9.1 -- psql crashes
Previous:From: Greg WilliamsonDate: 2012-08-10 01:31:00
Subject: Re: Question about ALTER TABLE DROP CONSTRAINT on 9.1 -- psql crashes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group