Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UqydA-0007Wg-At for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Jun 2013 04:43:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Uqyd9-0002eW-N3 for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Jun 2013 04:43:55 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uqyd8-0002eQ-F6 for pgsql-hackers@postgresql.org; Mon, 24 Jun 2013 04:43:54 +0000 Received: from raven.toroid.org ([178.63.84.200]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uqyd6-0001HE-O2 for pgsql-hackers@postgresql.org; Mon, 24 Jun 2013 04:43:53 +0000 Received: from pipit.toroid.org (unknown [10.9.8.10]) by raven.toroid.org (Postfix) with ESMTP id DEA1BE50054; Mon, 24 Jun 2013 06:43:51 +0200 (CEST) Received: by pipit.toroid.org (Postfix, from userid 1000) id 0C7B14602F7; Mon, 24 Jun 2013 10:13:51 +0530 (IST) Date: Mon, 24 Jun 2013 10:13:50 +0530 From: Abhijit Menon-Sen To: Simon Riggs Cc: Mark Kirkwood , Tom Lane , Gavin Flower , pgsql-hackers@postgresql.org Subject: Re: [PERFORM] In progress INSERT wrecks plans on table Message-ID: <20130624044350.GA32322@toroid.org> References: <5179F5C6.8070702@archidevsys.co.nz> <5180E3C8.3010201@catalyst.net.nz> <2121.1367417215@sss.pgh.pa.us> <5181B80D.70404@catalyst.net.nz> <916bff05a5ab130c76d7835abbaf7762.squirrel@mail.catalyst.net.nz> <51870CB6.6090404@catalyst.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: 0.8 (/) 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 (Cc: to pgsql-performance dropped, pgsql-hackers added.) At 2013-05-06 09:14:01 +0100, simon@2ndQuadrant.com wrote: > > New version of patch attached which fixes a few bugs. I read the patch, but only skimmed the earlier discussion about it. In isolation, I can say that the patch applies cleanly and looks sensible for what it does (i.e., cache pgprocno to speed up repeated calls to TransactionIdIsInProgress(somexid)). In that sense, it's ready for committer, but I don't know if there's a better/more complete/etc. way to address the original problem. -- Abhijit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers