Re: [PATCH] Print error when libpq-refs-stamp fails

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: [PATCH] Print error when libpq-refs-stamp fails
Дата
Msg-id 893A8F1B-0F23-42B6-BC72-003298885C7A@yesql.se
обсуждение исходный текст
Ответ на [PATCH] Print error when libpq-refs-stamp fails  (Rachel Heaton <rachelmheaton@gmail.com>)
Ответы Re: [PATCH] Print error when libpq-refs-stamp fails  (Rachel Heaton <rachelmheaton@gmail.com>)
Список pgsql-hackers
> On 28 Sep 2021, at 00:55, Rachel Heaton <rachelmheaton@gmail.com> wrote:

> While developing I got this error and it was difficult to figure out what was going on.
>
> Thanks to Jacob, I was able to learn the context of the failure, so we created this small patch.

I can see that, and I think this patch makes sense even though we don't have
much of a precedent for outputting informational messages from Makefiles.

> The text of the error message, of course, is up for debate, but hopefully this will make it more clear to others.

+    echo 'libpq must not call exit'; exit 1; \

Since it's not actually libpq which calls exit (no such patch would ever be
committed), I think it would be clearer to indicate that a library linked to is
the culprit.  How about something like "libpq must not be linked against any
library calling exit"?

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Nitin Jadhav
Дата:
Сообщение: Re: when the startup process doesn't (logging startup delays)
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: PROXY protocol support