Re: [PATCH] better systemd integration - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] better systemd integration
Date
Msg-id 56AD2C4A.1090003@gmx.net
Whole thread Raw
In response to Re: [PATCH] better systemd integration  (Christoph Berg <myon@debian.org>)
List pgsql-hackers
On 1/28/16 9:46 AM, Christoph Berg wrote:
> If a cluster is configured for non-hot-standby replication, the
> READY=1 seems to never happen. Did you check if that doesn't trigger
> any timeouts with would make the unit "fail" or the like?

As Pavel showed, it doesn't work for that.  I'll look into that.

> Also, I'm wondering how hard it would be to get socket activation work
> with that? (I wouldn't necessarily recommend that for production use,
> but on my desktop it would certainly be helpful not to have all those
> 8.4/9.0/.../9.6 clusters running all the time doing nothing.)

I had looked into socket activation, and it looks feasible, but it's a
separate feature.  I couldn't really think of a strong use case, but
what you describe makes sense.




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Fwd: Core dump with nested CREATE TEMP TABLE
Next
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] better systemd integration