pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alex Matzinger <amatzinger@experts-exchange.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6571: Postgres Kills 'Select 1' query randomly on hot standby databases
Date: Tue, 03 Apr 2012 12:40:12 -0400
Message-ID: <9729.1333471212@sss.pgh.pa.us> (raw)
In-Reply-To: <4F7B2050.9000507@experts-exchange.com>
References: <E1SEqb9-0004Ou-Rl@wrigleys.postgresql.org>
	<4F7A9D87.9060708@enterprisedb.com>
	<4F7B2050.9000507@experts-exchange.com>

Alex Matzinger <amatzinger@experts-exchange.com> writes:
> The connection that is executing the SELECT 1 are generally open for 1-5 
> hours before they are killed.  The specific connection only executes 
> SELECT 1.  The transaction is simply BEGIN, and then SELECT 1's, no 
> other query is executed.

Lose the "BEGIN" and it will probably work more nicely.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <9729.1333471212@sss.pgh.pa.us>
Permalink:  ../9729.1333471212@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9729.1333471212@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, amatzinger@experts-exchange.com, heikki.linnakangas@enterprisedb.com
  Subject: Re: BUG #6571: Postgres Kills 'Select 1' query randomly on hot standby databases
  In-Reply-To: <9729.1333471212@sss.pgh.pa.us>
  References: <E1SEqb9-0004Ou-Rl@wrigleys.postgresql.org> <4F7A9D87.9060708@enterprisedb.com> <4F7B2050.9000507@experts-exchange.com> <9729.1333471212@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