Re: Small patch: --disable-setproctitle flag
От | Andres Freund |
---|---|
Тема | Re: Small patch: --disable-setproctitle flag |
Дата | |
Msg-id | 20160331101217.GC23562@awork2.anarazel.de обсуждение исходный текст |
Ответ на | Small patch: --disable-setproctitle flag (Aleksander Alekseev <a.alekseev@postgrespro.ru>) |
Ответы |
Re: Small patch: --disable-setproctitle flag
|
Список | pgsql-hackers |
On 2016-03-31 13:06:05 +0300, Aleksander Alekseev wrote: > Hello > > Recently I discovered that renaming processes using setproctitle() call > on BSD systems may sometimes cause problems. For instance there is > currently a bug in all versions of LLDB which makes it impossible to > debug a process that called setproctitle(): > > https://llvm.org/bugs/show_bug.cgi?id=26924#c3 > > Since LLVM stack is used by default in FreeBSD I believe it's quite a > severe problem. In case there is other software that doesn't handle > stproctitle() well and for users of LLDB <= 3.8 (most recent version) > I propose to add a --disable-setproctitle flag to configure script. > Corresponding patch is attached. Seems more appropriate to simply manually add a #undef HAVE_SETPROCTITLE to pg_config_manual.h in that case. Adding configure flags for ephemeral debugger issues seems like a high churn activity. Andres
В списке pgsql-hackers по дате отправления: