pgsql: backend launchers void * arguments for binary data

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: backend launchers void * arguments for binary data
Date: 2025-02-21 07:04:30
Message-ID: E1tlN5L-000QjR-2i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

backend launchers void * arguments for binary data

Change backend launcher functions to take void * for binary data
instead of char *. This removes the need for numerous casts.

Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7202d72787d3b93b692feae62ee963238580c877

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 4 ++--
src/backend/postmaster/bgworker.c | 2 +-
src/backend/postmaster/bgwriter.c | 2 +-
src/backend/postmaster/checkpointer.c | 2 +-
src/backend/postmaster/launch_backend.c | 20 ++++++++++----------
src/backend/postmaster/pgarch.c | 2 +-
src/backend/postmaster/postmaster.c | 4 ++--
src/backend/postmaster/startup.c | 2 +-
src/backend/postmaster/syslogger.c | 6 +++---
src/backend/postmaster/walsummarizer.c | 2 +-
src/backend/postmaster/walwriter.c | 2 +-
src/backend/replication/logical/slotsync.c | 2 +-
src/backend/replication/walreceiver.c | 2 +-
src/backend/tcop/backend_startup.c | 4 ++--
src/include/postmaster/autovacuum.h | 4 ++--
src/include/postmaster/bgworker_internals.h | 2 +-
src/include/postmaster/bgwriter.h | 4 ++--
src/include/postmaster/pgarch.h | 2 +-
src/include/postmaster/postmaster.h | 2 +-
src/include/postmaster/startup.h | 2 +-
src/include/postmaster/syslogger.h | 2 +-
src/include/postmaster/walsummarizer.h | 2 +-
src/include/postmaster/walwriter.h | 2 +-
src/include/replication/slotsync.h | 2 +-
src/include/replication/walreceiver.h | 2 +-
src/include/tcop/backend_startup.h | 2 +-
26 files changed, 42 insertions(+), 42 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-02-21 08:14:17 pgsql: Drop opcintype from index AM strategy translation API
Previous Message Jeff Davis 2025-02-21 06:59:53 pgsql: Fix for pg_restore_attribute_stats().