pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Williamson <gwilliamson39@yahoo.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Question about ALTER TABLE DROP CONSTRAINT on 9.1 -- psql crashes
Date: Thu, 09 Aug 2012 22:06:57 -0400
Message-ID: <10482.1344564417@sss.pgh.pa.us> (raw)
In-Reply-To: <1344562260.90632.YahooMailNeo@web125901.mail.ne1.yahoo.com>
References: <1344557082.43876.YahooMailNeo@web125906.mail.ne1.yahoo.com>
	<8579.1344557984@sss.pgh.pa.us>
	<1344558910.70207.YahooMailNeo@web125906.mail.ne1.yahoo.com>
	<1344562260.90632.YahooMailNeo@web125901.mail.ne1.yahoo.com>

Greg Williamson <gwilliamson39@yahoo.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



view thread (8+ messages)  latest in thread

Message-ID: <10482.1344564417@sss.pgh.pa.us>
Permalink:  ../10482.1344564417@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10482.1344564417@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gwilliamson39@yahoo.com
  Subject: Re: Question about ALTER TABLE DROP CONSTRAINT on 9.1 -- psql crashes
  In-Reply-To: <10482.1344564417@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox