Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 4A6B11782AF9 for ; Mon, 2 Apr 2012 20:23:58 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SEqbN-0001oD-6o for pgsql-bugs@postgresql.org; Mon, 02 Apr 2012 23:23:57 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SEqbA-0007A6-Ey for pgsql-bugs@postgresql.org; Mon, 02 Apr 2012 23:23:44 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SEqb9-0004Ou-Rl for pgsql-bugs@postgresql.org; Mon, 02 Apr 2012 23:23:43 +0000 Date: Mon, 02 Apr 2012 23:23:43 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6571: Postgres Kills 'Select 1' query randomly on hot standby databases To: pgsql-bugs@postgresql.org From: amatzinger@experts-exchange.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/8 X-Sequence-Number: 32759 The following bug has been logged on the website: Bug reference: 6571 Logged by: Alex Matzinger Email address: amatzinger@experts-exchange.com PostgreSQL version: 9.1.2 Operating system: Freebsd 7.4 Description: = On a hot standby database, while the primary is being updated, Postgres will randomly kill a process which is performing a "Select 1" command. The error is this: 2012-04-02 13:36:13.269 PDT,"smxuser","smxprd1",39523,"127.0.0.1:57893",4f79ffad.9a63,1,"",2012-04-= 02 12:36:13 PDT,3/32,0,FATAL,40001,"terminating connection due to conflict with recovery","User query might have needed to see row versions that must be removed.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"" We have 5 hot standby's set up, which all preform this SELECT 1, and postgres kills them across all standby's. There should never be a situation that SELECT 1 is in conflict with data, as it it never using any table in the database. = We will be updating to 9.1.3 very soon, but i have not seen any documentation that this issue is corrected, or even known.