Re: Initdb failure

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Initdb failure
Дата
Msg-id 459e043b-2601-18c4-c11c-f7680f63cd29@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Initdb failure  (Rafia Sabih <rafia.pghackers@gmail.com>)
Ответы Re: Initdb failure  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2019-07-25 17:09, Rafia Sabih wrote:
> But on the other hand emitting the right error message atleast would
> be good for the sake of correctness if nothing else. But yes that
> definitely should be weighed against what is the effort required for
> this.

I think if you want to make this more robust, get rid of the fixed-size
array, use dynamic allocation with PQExpBuffer, and let the operating
system complain if it doesn't like the directory name length.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: SegFault on 9.6.14
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] WAL logging problem in 9.4.3?