Re: [PATCH] better systemd integration

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] better systemd integration
Date: 2016-01-28 09:00:35
Message-ID: CAFj8pRBQGL57Cqk1aLUROq1UYxnsZFywpwknZrx3+=Njgf8=zA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

2016-01-28 3:50 GMT+01:00 Peter Eisentraut <peter_e(at)gmx(dot)net>:

> 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.
>

You sent only rebased code of previous version. I didn't find additional
checks.

>
> > 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.
>

ok

>
> > Second issue:
> >
> > Mapping of levels between pg and journal levels is moved by1
>
> This is the same as how the "syslog" destination works.
>
>
I didn't find any related code in PostgreSQL, can me help, please?

Regards

Pavel

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shulgin, Oleksandr 2016-01-28 09:08:17 Re: Trivial doc fix in logicaldecoding.sgml
Previous Message Bruce Momjian 2016-01-28 08:52:00 Template for commit messages