pgsql: Small tidyup for commit d41a178b. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Small tidyup for commit d41a178b.
Date
Msg-id E1pcvR8-003sWl-1i@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Small tidyup for commit d41a178b.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a9229da65c9553a1268764d46fb28043b83bfd6

Modified Files
--------------
src/backend/postmaster/postmaster.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: mention CREATE+ATTACH PARTITION with CREATE TABLE...PARTITI
Next
From: Thomas Munro
Date:
Subject: pgsql: Small tidyup for commit d41a178b.