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:48:04 +0000
Message-ID: <E1pcvS7-003sa6-NU@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_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(-)



view thread (8+ messages)  latest in thread

Message-ID: <E1pcvS7-003sa6-NU@gemulon.postgresql.org>
Permalink:  ../E1pcvS7-003sa6-NU@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pcvS7-003sa6-NU@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: <E1pcvS7-003sa6-NU@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