Re: Process startup infrastructure is a mess

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Process startup infrastructure is a mess
Date: 2017-09-15 00:06:54
Message-ID: CANP8+jLQ93s8yT7d8Jbs-hAFB0wmgMvn7a8kZ3jUxyR4kgUQgQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 14 September 2017 at 22:44, Andres Freund <andres(at)anarazel(dot)de> wrote:

> The way we currently start and initialize individual postgres (sub-)
> processes is pretty complicated and duplicative. I've a couple
> complaints:
...
> I think we should seriously consider doing a larger refactoring of this
> soon. I've some ideas about what to do, but I'd welcome some thoughts
> on whether others consider this a serious problem or not, and what they
> think we should do about this, first.

Refactoring without a purpose is a negative for me. It takes time,
introduces bugs and means the greater code churn over time introduces
more bugs because fewer people have seen the code. That is arguable,
but when we compare the priority of that against things people want
and need there is little contest in my mind.

If we add something to an area then its a good time to refactor it
since we were going to get bugs anyway.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2017-09-15 00:11:09 Re: Trouble with amcheck
Previous Message Douglas Doole 2017-09-15 00:03:58 Trouble with amcheck