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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7811: strlen(NULL) cause psql crash
Дата
Msg-id 683.1358277657@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #7811: strlen(NULL) cause psql crash  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-bugs
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> Hmm, I wonder if an empty string would be better? It'd look a bit odd,
> but at least it would not mislead you to think you're connected to a
> database called "none".

Works for me as a back-branch fix, especially since then we're adding
zero new strings to the back branches.

            regards, tom lane

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #7811: strlen(NULL) cause psql crash
Следующее
От: analyst.kleber@gmail.com
Дата:
Сообщение: BUG #7813: Problem in installation