Re: [HACKERS] Process startup infrastructure is a mess - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: [HACKERS] Process startup infrastructure is a mess
Date
Msg-id 20170915013011.GJ4628@tamriel.snowman.net
Whole thread Raw
In response to Re: [HACKERS] Process startup infrastructure is a mess  (Andres Freund <andres@anarazel.de>)
Responses Re: [HACKERS] Process startup infrastructure is a mess  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Andres, Simon,

* Andres Freund (andres@anarazel.de) wrote:
> On 2017-09-15 01:06:54 +0100, Simon Riggs wrote:
> > If we add something to an area then its a good time to refactor it
> > since we were going to get bugs anyway.
>
> We've added something to the area on a regular basis. As in last in
> v10. The fundamental problem with your argument is that that makes it
> impossible for most contributors to get feature in that touch these
> parts of the code - many neither have the time nor the knowledge to do
> such a refactoring. By your argument we should have rejected logical
> replication for v10 because it complicated this further, without
> cleaning it up.
>
> Besides that, it also makes it harder to develop new features, not just
> to get them in.

I'm definitely in agreement with Andres on this one.  This isn't
refactoring of little-to-never changed code, it's refactoring bits of
the system which are changed with some regularity and looks likely to
continue to need change as we add more features moving forward, and
perhaps add greater controls over process startup.

Thanks!

Stephen

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] SCRAM in the PG 10 release notes
Next
From: Stephen Frost
Date:
Subject: Re: [HACKERS] Trouble with amcheck