Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtX8W-0000qc-QY for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Nov 2015 08:40:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZtX8W-0007Xk-Cw for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Nov 2015 08:40:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZtX7A-0004Wt-W2; Tue, 03 Nov 2015 08:38:49 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZtX78-0000Vt-U3; Tue, 03 Nov 2015 08:38:48 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 2E7F3860003; Tue, 3 Nov 2015 09:38:46 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-4.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, FS_REPLICA autolearn=no version=3.2.5 Received: from anarazel.de (p5DDC58CC.dip0.t-ipconnect.de [93.220.88.204]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 1209A860002; Tue, 3 Nov 2015 09:38:43 +0100 (CET) Received: by anarazel.de (Postfix, from userid 1000) id 9B32D101662; Tue, 3 Nov 2015 09:38:42 +0100 (CET) Date: Tue, 3 Nov 2015 09:38:42 +0100 From: Andres Freund To: Robert Haas Cc: Vladimir Borodin , Oleksii Kliukin , Michael Paquier , pgsql-admin , PostgreSQL-development Subject: Re: [ADMIN] Replication slots and isolation levels Message-ID: <20151103083842.GQ11897@awork2.anarazel.de> References: <0E6700E4-195C-450D-A051-D19F92B2A9D7@simply.name> <86D2C6D2-C332-4BF9-A82E-C9F7FA471712@simply.name> <088B276D-4073-4582-82D4-08F50E43B426@simply.name> <95FD0B1A-7BD1-4CCE-86D4-2DF2B2AE2C68@simply.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2015-11-02 15:37:57 -0500, Robert Haas wrote: > On Fri, Oct 30, 2015 at 9:49 AM, Vladimir Borodin wrote: > > I’ve tried two ways - bare SELECT in autocommit mode and BEGIN; SELECT; > > ROLLBACK. I first described the problem in thread on pgsql-admin@ [0], there > > is copy-paste from psql there, but during conversation initial description > > was lost. > > > > [0] > > http://www.postgresql.org/message-id/7F74C5EA-6741-44FC-B6C6-E96F18D761FB@simply.name > > Hmm. That behavior seems unexpected to me, but I might be missing something. The conflict is because of a relation lock, not because of visibility. Hot-Standby feedback changes nothing about that. I presume all the other conflicts are all because of relation level locks? Check pg_stat_database_conflicts and the server logs to verify. Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers