pgsql: Remove redundant memset call following palloc0

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove redundant memset call following palloc0
Date: 2022-10-13 21:28:51
Message-ID: E1oj5l4-002FKt-Sg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove redundant memset call following palloc0

This is a follow-up commit to ca7f8e2 which removed the allocation
abstraction from pgcrypto and replaced px_alloc + memset calls with
palloc0 calls. The particular memset in this commit was missed in
that work though.

Author: Zhihong Yu <zyu(at)yugabyte(dot)com>
Reviewed-by: Bruce Momjian <bruce(at)momjian(dot)us>
Reviewed-by: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Discussion: https://postgr.es/m/CALNJ-vT5qRucrFMPSzQyAWods1b4MnNPG-M=_ZUzh1SoTh0vNw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ba185d318dd34ed3e860b3a19869fbc15007db8f

Modified Files
--------------
contrib/pgcrypto/px.c | 1 -
1 file changed, 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2022-10-14 01:32:23 pgsql: Fix incorrect comment regarding command completion tags
Previous Message Andres Freund 2022-10-13 17:04:04 pgsql: pg_buffercache: Add pg_buffercache_summary()