Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 6A6112E0057 for ; Thu, 17 Apr 2008 14:01:10 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 92743-06 for ; Thu, 17 Apr 2008 14:01:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [202.61.230.242]) by developer.postgresql.org (Postfix) with ESMTP id 5C78D2E004B for ; Thu, 17 Apr 2008 14:01:03 -0300 (ADT) Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by www.postnewspapers.com.au (Postfix) with ESMTP id 8C7653D5 for ; Fri, 18 Apr 2008 01:00:58 +0800 (WST) Received: from localhost (access [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id C5D3B1E0435 for ; Fri, 18 Apr 2008 01:01:01 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (access.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WPSMKcPeneMk for ; Fri, 18 Apr 2008 01:01:01 +0800 (WST) Received: from [203.161.97.213] (203.161.97.213.static.amnet.net.au [203.161.97.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTP id 127CA1E0434 for ; Fri, 18 Apr 2008 01:01:01 +0800 (WST) Message-ID: <4807823B.40706@postnewspapers.com.au> Date: Fri, 18 Apr 2008 01:00:43 +0800 From: Craig Ringer User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 Cc: pgsql-performance@postgresql.org Subject: Re: SQL Function Slowness, 8.3.0 References: <8328.1208358587@sss.pgh.pa.us> <1208448751.4259.317.camel@ebony.site> <20970.1208448770@sss.pgh.pa.us> <1208449557.4259.331.camel@ebony.site> In-Reply-To: <1208449557.4259.331.camel@ebony.site> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.229 tagged_above=0 required=5 tests=AWL=-1.352, MISSING_HEADERS=1.581 X-Spam-Level: X-Archive-Number: 200804/243 X-Sequence-Number: 29736 Simon Riggs wrote: > Obfuscating the names would make the code harder to understand, true, > but only if the code is written in English (or your language-of-choice). > It wouldn't damage our ability to read other language code at all. Speaking of this sort of support tool, what I personally often wish for is unique error message identifiers that can be looked up (say, with a web form) or a way to un/re-translate localized messages. I'm on one other mailing list where a wide variety of languages is in use; however, on that list there are lots of experienced users - including most of the translators for the app - happy to help out in the users preferred language or to translate. Here much of the help seems to be from mostly English (only?) speakers, so a reverse message translator back to the English used in the sources would be pretty cool. I should have a play and see how hard it is to generate a reverse translation tool from the .po files. I do think that something that could substitute replacement generic variable names consistently throughout a schema, set of queries, EXPLAIN / EXPLAIN ANALYZE output, etc would be handy, though it'd be better if people just posted their original code. -- Craig Ringer