Re: Auxiliary Processes and MyAuxProc

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Mike Palmiotto <mike(dot)palmiotto(at)crunchydata(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Andres Freund <andres(at)anarazel(dot)de>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Yuli Khodorkovskiy <yuli(dot)khodorkovskiy(at)crunchydata(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Auxiliary Processes and MyAuxProc
Date: 2020-03-17 21:52:18
Message-ID: 20200317215218.GC26184@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 17, 2020 at 02:50:19PM -0400, Mike Palmiotto wrote:
> The patchset is now split out. I've just noticed that Peter Eisentraut
> included some changes for a generic MyBackendType, which I should have
> been aware of. I was unable to rebase due to these changes, but can
> fold these patches into that framework if others think it's
> worthwhile.

I don't have many comments on the patch, but it's easy enough to rebase.

I think maybe you'll want to do something more with this new function:
GetBackendTypeDesc()

+ /* Don't panic. */

+1

--
Justin

Attachment Content-Type Size
v2-0001-Add-subprocess-infrastructure.patch text/x-diff 13.9 KB
v2-0002-Use-centralized-StartSubprocess-for-aux-procs.patch text/x-diff 14.9 KB
v2-0003-Add-AutoVacLauncherType-to-subprocess-struct.patch text/x-diff 7.4 KB
v2-0004-Add-AutoVacuumWorkerType-to-subprocess-struct.patch text/x-diff 6.2 KB
v2-0005-Add-PgstatCollectorType-to-subprocess-struct.patch text/x-diff 11.6 KB
v2-0006-Add-PgArchiverType-to-subprocess-struct.patch text/x-diff 7.5 KB
v2-0007-Add-SysLoggerType-to-subprocess-struct.patch text/x-diff 16.7 KB
v2-0008-Add-BgWorkerType-to-subprocess-struct.patch text/x-diff 25.6 KB
v2-0009-Add-Backends-to-subprocess-struct.patch text/x-diff 16.0 KB
v2-0010-Add-WalSenderType-to-subprocess-struct.patch text/x-diff 1.4 KB
v2-0011-Get-rid-of-st_beckendType-and-use-MySubprocess.patch text/x-diff 4.0 KB
v2-0012-Move-away-from-argv-string-comparison.patch text/x-diff 1.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurenz Albe 2020-03-17 21:55:32 Re: Berserk Autovacuum (let's save next Mandrill)
Previous Message Justin Pryzby 2020-03-17 21:34:26 Re: Berserk Autovacuum (let's save next Mandrill)