pgsql: Remove some useless free calls.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove some useless free calls.
Date: 2022-03-25 02:40:18
Message-ID: E1nXZsA-001G3j-7Q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-03-25 05:11:31 pgsql: Fix typos in standby.c
Previous Message Tatsuo Ishii 2022-03-25 01:23:41 pgsql: Second attempt to fix pgbench TAP test.