Small tidyup for commit d41a178b.
authorThomas Munro <tmunro@postgresql.org>
Thu, 16 Mar 2023 20:44:42 +0000 (09:44 +1300)
committerThomas Munro <tmunro@postgresql.org>
Thu, 16 Mar 2023 21:44:46 +0000 (10:44 +1300)
commit6a9229da65c9553a1268764d46fb28043b83bfd6
tree9fdea30c149e1d6a77a4727f4eadfbda288b4d57
parentf170b572d2b4cc232c5b6d391b4ecf3e368594b7
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
src/backend/postmaster/postmaster.c