Re: Non-robustness in pmsignal.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Non-robustness in pmsignal.c
Date: 2022-10-08 17:15:07
Message-ID: 3654052.1665249307@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
>> Only PM_CHILD_ACTIVE and PM_CHILD_WALSENDER though. We could afford another
>> MaxLivePostmasterChildren() sized array...

> Oh, I see what you mean --- one private and one public array.
> Maybe that makes more sense than what I did, not sure.

Yeah, that's definitely a better way. I'll push this after the
release freeze lifts.

regards, tom lane

Attachment Content-Type Size
make-pmsignal-more-robust-2.patch text/x-diff 4.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-10-08 17:32:36 Re: Non-robustness in pmsignal.c
Previous Message Nathan Bossart 2022-10-08 17:12:22 Re: use has_privs_of_role() for pg_hba.conf