Re: [PATCH] better systemd integration

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] better systemd integration
Дата
Msg-id 56A981F8.20409@gmx.net
обсуждение исходный текст
Ответ на Re: [PATCH] better systemd integration  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [PATCH] better systemd integration  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: [PATCH] better systemd integration  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 1/27/16 7:02 AM, Pavel Stehule wrote:
> The issues:
>
> 1. configure missing systemd integration test, compilation fails:
>
> postmaster.o postmaster.c
> postmaster.c:91:31: fatal error: systemd/sd-daemon.h: No such file or
> directory

Updated patch attached that fixes this by adding additional checking in
configure.

> 3. PostgreSQL is able to write to systemd log, but multiline entry was
> stored with different priorities

Yeah, as Tom had already pointed out, this doesn't work as I had
imagined it.  I'm withdrawing this part of the patch for now.  I'll come
back to it later.

> Second issue:
>
> Mapping of levels between pg and journal levels is moved by1

This is the same as how the "syslog" destination works.


Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Combining Aggregates
Следующее
От: Chapman Flack
Дата:
Сообщение: Re: Implementing a new Scripting Language