From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCH] better systemd integration |
Date: | 2016-01-28 02:50:32 |
Message-ID: | 56A981F8.20409@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
Attachment | Content-Type | Size |
---|---|---|
0001-Improve-error-reporting-when-location-specified-by-p.patch | application/x-patch | 1.7 KB |
0002-Add-support-for-systemd-service-notifications.patch | application/x-patch | 8.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Chapman Flack | 2016-01-28 03:12:18 | Re: Implementing a new Scripting Language |
Previous Message | Robert Haas | 2016-01-28 02:48:56 | Re: Combining Aggregates |