Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TvBxL-00046J-79 for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Jan 2013 19:13:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TvBxK-0002es-Gu for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Jan 2013 19:13:54 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TvBxJ-0002en-T0 for pgsql-bugs@postgresql.org; Tue, 15 Jan 2013 19:13:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TvBxI-0004dz-Aw for pgsql-bugs@postgresql.org; Tue, 15 Jan 2013 19:13:53 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r0FJDpWA000526; Tue, 15 Jan 2013 14:13:51 -0500 (EST) From: Tom Lane To: Heikki Linnakangas cc: 1584171677@qq.com, pgsql-bugs@postgresql.org Subject: Re: BUG #7811: strlen(NULL) cause psql crash In-reply-to: <50F5A779.5060304@vmware.com> References: <50F591E4.2080508@vmware.com> <29141.1358273456@sss.pgh.pa.us> <50F59D30.5090908@vmware.com> <29520.1358274561@sss.pgh.pa.us> <50F5A779.5060304@vmware.com> Comments: In-reply-to Heikki Linnakangas message dated "Tue, 15 Jan 2013 21:01:13 +0200" Date: Tue, 15 Jan 2013 14:13:51 -0500 Message-ID: <525.1358277231@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Heikki Linnakangas writes: > On 15.01.2013 20:29, Tom Lane wrote: >> But you already introduced "none" as a stand-alone (and probably almost >> untranslatable without context) string. That's better? > I figured it would be. One little untranslated string in parens, versus > the whole is untranslated. I'm happy to change it if you feel otherwise, > though, I don't feel strongly about it myself. Well, I shouldn't be opining too strongly on translatability issues. Other people would have much-better-qualified opinions as to how well it'll read if "none" has to be translated by itself. But as to the behavior when the new message hasn't been translated yet: the only case where anyone would see the untranslated message is if they were in fact not connected, which we know is a seldom-exercised corner case (else this bug would've been noticed long ago). So it might not be worth arguing about. But ISTM that somebody whose English was weak might not grasp that "none" (untranslated) wasn't meant to be a name. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs