Re: Process initialization labyrinth

2021-04-02 Thread Mike Palmiotto
On Fri, Apr 2, 2021 at 1:02 PM Andres Freund wrote: > > Hi, > > On 2021-04-02 10:18:20 -0400, Mike Palmiotto wrote: > > I can't really speak to the initial points directly relating to > > pgstat/shmem, but for the overall maze-like nature of the startup > > code: is there any chance the startup ce

Re: Process initialization labyrinth

2021-04-02 Thread Andres Freund
Hi, On 2021-04-02 10:18:20 -0400, Mike Palmiotto wrote: > I can't really speak to the initial points directly relating to > pgstat/shmem, but for the overall maze-like nature of the startup > code: is there any chance the startup centralization patchset would be > of any help here? > https://www.p

Re: Process initialization labyrinth

2021-04-02 Thread Mike Palmiotto
On Thu, Apr 1, 2021 at 8:22 PM Andres Freund wrote: > > I have now worked around this by generous application of ugly, but I > think we really need to do something about this mazy mess. There's just > an insane amount of duplication, and it's too complicated to remember > more than a few minutes.