Re: BUG #7811: strlen(NULL) cause psql crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7811: strlen(NULL) cause psql crash
Дата
Msg-id 525.1358277231@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #7811: strlen(NULL) cause psql crash  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Ответы Re: BUG #7811: strlen(NULL) cause psql crash  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-bugs
Heikki Linnakangas <hlinnakangas@vmware.com> 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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #7803: Replication Problem(no master is there)
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #7811: strlen(NULL) cause psql crash