pgsql: Change argument type of pq_sendbytes from char * to void *

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Change argument type of pq_sendbytes from char * to void *
Date: 2023-02-14 12:39:58
Message-ID: E1pRubG-0016Qi-4F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Change argument type of pq_sendbytes from char * to void *

This is a follow-up to 1f605b82ba66ece8b421b10d41094dd2e3c0c48b. It
allows getting rid of further casts at call sites.

Reviewed-by: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/783a4edb-84f9-6df2-7470-2ef5ccc6607a@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3b12e68a5c4609deb9fc69607e0aec072700c0a9

Modified Files
--------------
src/backend/libpq/pqformat.c | 2 +-
src/backend/utils/adt/array_userfuncs.c | 11 +++++------
src/backend/utils/adt/uuid.c | 2 +-
src/backend/utils/adt/varbit.c | 2 +-
src/include/libpq/pqformat.h | 2 +-
5 files changed, 9 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2023-02-15 01:11:34 pgsql: Fix make_etags failure on Mac.
Previous Message Jeff Davis 2023-02-14 01:27:04 pgsql: Correct docs for the default locale_provider of a new database.