pgsql: Remove some useless free calls. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Remove some useless free calls.
Date
Msg-id E1nXZsA-001G3j-7Q@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: pgsql: Second attempt to fix pgbench TAP test.
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix typos in standby.c