Small tidyup for commit d41a178b.

Thomas Munro <tmunro@postgresql.org>

Commit: 6a9229da65c9553a1268764d46fb28043b83bfd6
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2023-03-16T21:44:46Z
Releases: 16.0
Small tidyup for commit d41a178b.

A comment was left behind claiming that we needed to use malloc() rather
than palloc() because the corresponding free would run in another
thread, but that's not true anymore.  Remove that comment.  And, with
the reason being gone, we might as well actually use palloc().

Back-patch to supported releases, like d41a178b.

Discussion: https://postgr.es/m/CA%2BhUKG%2BpdM9v3Jv4tc2BFx2jh_daY3uzUyAGBhtDkotEQDNPYw%40mail.gmail.com

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +4 −7

Discussion