pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unnecessary casts
Date: Fri, 30 Dec 2022 09:16:02 +0000
Message-ID: <E1pBBUf-0017c5-SR@gemulon.postgresql.org> (raw)

Remove unnecessary casts

Some code carefully cast all data buffer arguments for data write and
read function calls to void *, even though the respective arguments
are already void *.  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/5f2f99c9c62d754c19e090cb57fdd929438ea519

Modified Files
--------------
src/backend/executor/nodeAgg.c             |  6 +++---
src/backend/storage/file/buffile.c         |  4 ++--
src/backend/utils/sort/logtape.c           | 18 +++++++++---------
src/backend/utils/sort/tuplesort.c         |  2 +-
src/backend/utils/sort/tuplesortvariants.c | 16 ++++++++--------
5 files changed, 23 insertions(+), 23 deletions(-)



view thread (3+ messages)

Message-ID: <E1pBBUf-0017c5-SR@gemulon.postgresql.org>
Permalink:  ../E1pBBUf-0017c5-SR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pBBUf-0017c5-SR@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: peter@eisentraut.org
  Subject: Re: pgsql: Remove unnecessary casts
  In-Reply-To: <E1pBBUf-0017c5-SR@gemulon.postgresql.org>
  References: <E1pBBUf-0017c5-SR@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