Re: [PATCH] better systemd integration

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Christoph Berg <myon(at)debian(dot)org>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] better systemd integration
Date: 2016-01-30 21:34:02
Message-ID: 56AD2C4A.1090003@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2016-01-30 21:36:10 Re: [PATCH] better systemd integration
Previous Message Robert Haas 2016-01-30 21:28:47 Re: Fwd: Core dump with nested CREATE TEMP TABLE