Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arqEE-0005JD-EB for pgsql-committers@arkaria.postgresql.org; Sun, 17 Apr 2016 17:11:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1arqEC-0007yS-Q8 for pgsql-committers@arkaria.postgresql.org; Sun, 17 Apr 2016 17:11:20 +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_2) (envelope-from ) id 1arqEB-0007xF-Ee for pgsql-committers@postgresql.org; Sun, 17 Apr 2016 17:11:19 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1arqE8-0004ht-99 for pgsql-committers@postgresql.org; Sun, 17 Apr 2016 17:11:18 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8629620B06 for ; Sun, 17 Apr 2016 13:11:14 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 17 Apr 2016 13:11:14 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=CWj38ztbg5A4LB9Mij7dU8MT4Gc=; b=lEEKN bii78Pxu4Hh1fjfpiQBjj2vR+cfunHo1M+Vyp8jtnSbGpDTCHRk60QaLW7k3DGQS sn5wK/siq97tCHPQaIFNwrA09y/h5748qhzoOdzyvZphVzX4XZdp1B5vimjLB+8p 8UgVlEWpnFnHj7qumYrPa5HiWuYEXS/QBznOSI= X-Sasl-enc: 988Uy0Z1Y6HuV8ol/Lbx1fLwNPWNETlz040w43BM600T 1460913074 Received: from intern.anarazel.de (unknown [172.56.39.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 1E8C1C00013; Sun, 17 Apr 2016 13:11:14 -0400 (EDT) Date: Sun, 17 Apr 2016 10:04:37 -0700 From: Andres Freund To: David Steele Cc: Noah Misch , Kevin Grittner , Robert Haas , Kevin Grittner , "pgsql-hackers@postgresql.org" , "pgsql-committers@postgresql.org" Subject: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold < Message-ID: <20160417170437.pkvekmv6igdgruas@alap3.anarazel.de> References: <20160412192801.wffn2vjyszyw4qa4@alap3.anarazel.de> <20160413171955.i53me46fqqhdlztq@alap3.anarazel.de> <20160413192110.fogwesjti3kxycnu@alap3.anarazel.de> <20160413200148.bawmwjdmggbllhha@alap3.anarazel.de> <20160416204452.GA1910190@tornado.leadboat.com> <5713AFE2.1000505@pgmasters.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5713AFE2.1000505@pgmasters.net> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org > Second, I don't think it will improve and become performant without > exposure to a wider audience. Huh? The issue is a relatively simple to spot architectural issue (taking a single exclusive lock during snapshot acquiration which only needs shared locks otherwise) - I don't see how any input it's needed. And for that matter, I don't see why such a lock got through review. -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers