pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Small tidyup for commit d41a178b.
Date: Thu, 16 Mar 2023 21:47:09 +0000
Message-ID: <E1pcvRF-003sXQ-Cr@gemulon.postgresql.org> (raw)

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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/75e7378f6e15271385d50543a031b1a3bee6be13

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



view thread (8+ messages)  latest in thread

Message-ID: <E1pcvRF-003sXQ-Cr@gemulon.postgresql.org>
Permalink:  ../E1pcvRF-003sXQ-Cr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pcvRF-003sXQ-Cr@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Small tidyup for commit d41a178b.
  In-Reply-To: <E1pcvRF-003sXQ-Cr@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox