pgsql: Remove unnecessary casts

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unnecessary casts
Date: 2022-12-08 08:06:13
Message-ID: E1p3Bv2-002U6a-Rb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary casts

Some code carefully cast all data buffer arguments for BufFileWrite()
and BufFileRead() to void *, even though the arguments are already
void * (and AFAICT were never anything else). Remove this unnecessary
clutter.

Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/07c29ca7fe30839a75d15b43c13b290a59a60ddf

Modified Files
--------------
src/backend/executor/nodeHashjoin.c | 8 ++++----
src/backend/utils/sort/tuplestore.c | 12 ++++++------
2 files changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Dean Rasheed 2022-12-09 10:05:27 pgsql: Update MERGE docs to mention that ONLY is supported.
Previous Message Etsuro Fujita 2022-12-08 07:26:48 pgsql: Remove new structure member from ResultRelInfo.