From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: 1584171677@qq.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7811: strlen(NULL) cause psql crash
Date: Tue, 15 Jan 2013 13:29:21 -0500
Message-ID: <29520.1358274561@sss.pgh.pa.us> (raw)
In-Reply-To: <50F59D30.5090908@vmware.com>
References: <E1Tv7L8-0002Xr-DT@wrigleys.postgresql.org>
<50F591E4.2080508@vmware.com>
<29141.1358273456@sss.pgh.pa.us>
<50F59D30.5090908@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> On 15.01.2013 20:10, Tom Lane wrote:
>> I think that patch could use more thought. As is, it will print
>> connect to new database (currently "none")
>> which to me is claiming that we are connected to a database whose name
>> is "none". The quotes should not be used in this situation, and in
>> fact it would be better for translatability if the whole message text
>> were specialized to this case. I'd like to see it reading more like
>> connect to new database (currently no connection)
> Hmm, that'd introduce a new quite visible string into back-branches that
> needs to be translated, which I think we try to avoid.
But you already introduced "none" as a stand-alone (and probably almost
untranslatable without context) string. That's better?
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, hlinnakangas@vmware.com, 1584171677@qq.com
Subject: Re: BUG #7811: strlen(NULL) cause psql crash
In-Reply-To: <29520.1358274561@sss.pgh.pa.us>
References: <E1Tv7L8-0002Xr-DT@wrigleys.postgresql.org> <50F591E4.2080508@vmware.com> <29141.1358273456@sss.pgh.pa.us> <50F59D30.5090908@vmware.com> <29520.1358274561@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox