Thread: pgsql: Small tidyup for commit d41a178b.

pgsql: Small tidyup for commit d41a178b.

From
Thomas Munro
Date:
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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9d6c3439716f04e1dea92376e794ddde98624e3b

Modified Files
--------------
src/backend/postmaster/postmaster.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)