]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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 20:52:45 +0000 (09:52 +1300)
commit00fc4b3a31010033e8b1a964c90a7a30b8d6a7d7
tree5f9d265762e47bd22e18890579a4daef609286df
parent8f90381a20b259decfbb7174034ca7c457a041d0
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