pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove some useless free calls.
Date: Fri, 25 Mar 2022 02:40:18 +0000
Message-ID: <E1nXZsA-001G3j-7Q@gemulon.postgresql.org> (raw)

Remove some useless free calls.

These were introduced in recent commit 52e4f0cd47. We were trying to free
some transient space consumption and that too was not entirely correct and
complete. We don't need this partial freeing of memory as it will be
allocated just once for a query and will be freed at the end of the query.

Author: Zhihong Yu
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CALNJ-vQORfQ=vicbKA_RmeGZGzm1y3WsEcZqXWi7qjN43Cz_vg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3e67a5cac6a50139bd29b96ab97496dbc1543d92

Modified Files
--------------
src/backend/commands/publicationcmds.c | 6 ------
1 file changed, 6 deletions(-)



Message-ID: <E1nXZsA-001G3j-7Q@gemulon.postgresql.org>
Permalink:  ../E1nXZsA-001G3j-7Q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nXZsA-001G3j-7Q@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Remove some useless free calls.
  In-Reply-To: <E1nXZsA-001G3j-7Q@gemulon.postgresql.org>
  References: <E1nXZsA-001G3j-7Q@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