Re: Proposed patch - psql wraps at window width

Поиск
Список
Период
Сортировка
От Bryce Nesbitt
Тема Re: Proposed patch - psql wraps at window width
Дата
Msg-id 4808415E.5080905@obviously.com
обсуждение исходный текст
Ответ на Re: Proposed patch - psql wraps at window width  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches

Alvaro Herrera wrote:
> * Don't lose warning comments like this one (unless you've removed the
> assumption of course)
>
> /*
>  * Assumption: This code used only on strings
>  * without multibyte characters, otherwise
>  * this_line->width < strlen(this_ptr) and we get
>  * an overflow
>  */
In fact, that particular assumption was causing a problem, causing a
segfault.  I can't be certain, because the multibyte stuff is pretty
intense, but I think I nailed it.  Thanks for all your comments!


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposed patch - psql wraps at window width
Следующее
От: Bryce Nesbitt
Дата:
Сообщение: Coding standards