aboutsummaryrefslogtreecommitdiff
path: root/src/include/tcop/backend_startup.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-02-21 08:03:33 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-02-21 08:03:33 +0100
commit7202d72787d3b93b692feae62ee963238580c877 (patch)
tree93ea482d755c1c3719c4eef4369eb356256416d3 /src/include/tcop/backend_startup.h
parentb50a554cc84066577f0f0a3baafe2f1fac302006 (diff)
downloadpostgresql-7202d72787d3b93b692feae62ee963238580c877.tar.gz
postgresql-7202d72787d3b93b692feae62ee963238580c877.zip
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@ilmari.org> Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org
Diffstat (limited to 'src/include/tcop/backend_startup.h')
-rw-r--r--src/include/tcop/backend_startup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/tcop/backend_startup.h b/src/include/tcop/backend_startup.h
index 01baf4aad75..73285611203 100644
--- a/src/include/tcop/backend_startup.h
+++ b/src/include/tcop/backend_startup.h
@@ -39,6 +39,6 @@ typedef struct BackendStartupData
CAC_state canAcceptConnections;
} BackendStartupData;
-extern void BackendMain(char *startup_data, size_t startup_data_len) pg_attribute_noreturn();
+extern void BackendMain(const void *startup_data, size_t startup_data_len) pg_attribute_noreturn();
#endif /* BACKEND_STARTUP_H */