Обсуждение: Re: Yikes! Bitten by line length?

Поиск
Список
Период
Сортировка

Re: Yikes! Bitten by line length?

От
Ken Corey
Дата:
Peter Eisentraut wrote:
>
> Tom Lane writes:
>
> > Perhaps we should reduce psql's fgets() buffers to 256 bytes or less to
> > avoid this problem?
>
> Sure.
>
> Or maybe fscanf("%s") works?
>
> --
> Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

Ian Taylor pointed out that it was my terminal driver limiting things to
255 chars...not the OS.  In that context, I gotta think that fscanf()
would be affected as well.

-Ken