Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zj7gD-0007PI-L5 for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Oct 2015 15:27:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zj7gD-0007nA-6n for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Oct 2015 15:27:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zj7gC-0007kt-AF for pgsql-hackers@postgresql.org; Mon, 05 Oct 2015 15:27:56 +0000 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Zj7g9-0002c3-9T for pgsql-hackers@postgresql.org; Mon, 05 Oct 2015 15:27:54 +0000 Received: from mfilter22-d.gandi.net (mfilter22-d.gandi.net [217.70.178.150]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 5EBDEA80B5; Mon, 5 Oct 2015 17:27:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter22-d.gandi.net Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter22-d.gandi.net (mfilter22-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id j7u2FUTzHA3S; Mon, 5 Oct 2015 17:27:48 +0200 (CEST) X-Originating-IP: 98.122.164.227 Received: from [192.168.10.146] (unknown [98.122.164.227]) (Authenticated sender: adsend@dunslane.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 03EB7A80AF; Mon, 5 Oct 2015 17:27:46 +0200 (CEST) Subject: Re: Less than ideal error reporting in pg_stat_statements To: Tom Lane , Peter Geoghegan References: <5601D354.5000703@BlueTreble.com> <15898.1442965225@sss.pgh.pa.us> <56030E72.9070104@BlueTreble.com> <30112.1444058156@sss.pgh.pa.us> Cc: Jim Nasby , Pg Hackers From: Andrew Dunstan Message-ID: <561296EC.805@dunslane.net> Date: Mon, 5 Oct 2015 11:27:40 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <30112.1444058156@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 10/05/2015 11:15 AM, Tom Lane wrote: > Peter Geoghegan writes: >> I'm annoyed and disappointed that the patch committed does not even >> begin to address the underlying problem -- it just adds an escape >> hatch, and fixes another theoretical issue that no one was affected >> by. Honestly, next time I won't bother. > The problem as I see it is that what you submitted is a kluge that will > have weird and unpredictable side effects. Moreover, it seems to be > targeting an extremely narrow problem case, ie large numbers of queries > that (a) have long query texts and (b) are distinct to the fingerprinting > code and (c) fail. It seems to me that you could get into equal trouble > with situations where (c) is not satisfied, and what then? > > I'm certainly amenable to doing further work on this problem. But I do > not think that what we had was well-enough-thought-out to risk pushing > it just hours before a release deadline. Let's arrive at a more > carefully considered fix in a leisurely fashion. > > FWIW, (a) and (b) but not (c) is probably the right description for my client who has been seeing problems here. cheers andrew -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers