Re: Requesting external_pid_file with postgres -C when not initialized lead to coredump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Requesting external_pid_file with postgres -C when not initialized lead to coredump
Дата
Msg-id 2878.1466614302@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Requesting external_pid_file with postgres -C when not initialized lead to coredump  (alain radix <alain.radix@gmail.com>)
Ответы Re: Requesting external_pid_file with postgres -C when not initialized lead to coredump  (alain radix <alain.radix@gmail.com>)
Список pgsql-hackers
alain radix <alain.radix@gmail.com> writes:
> Another effect of the patch is that it become possible to start a cluster
> with external_pid_file='' in postgresql.conf
> It would have that same behavior as many other parameters.

I'd still be inclined to do that with something along the lines of

-    if (external_pid_file)
+    if (external_pid_file && external_pid_file[0])

rather than changing the default per se.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Parallelized polymorphic aggs, and aggtype vs aggoutputtype
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Reference to UT1