Re: initdb --pwfile /dev/zero

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb --pwfile /dev/zero
Дата
Msg-id 1404137.1631909356@sss.pgh.pa.us
обсуждение исходный текст
Ответ на initdb --pwfile /dev/zero  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2021-09-17 14:48:42 -0400, Tom Lane wrote:
>> I don't think '\0' is the problem.  The only fix for this would be to
>> re-introduce some fixed limit on how long a line we'll read, which
>> I'm not too thrilled about.

> Well, '\0' can be classified as the end of a line imo. So I don't think it'd
> require a line lenght limit.

Meh.  Those functions are specified to act like fgets(), which does not
think that \0 terminates a line AFAIK.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: right join with partitioned table crash
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: prevent immature WAL streaming