mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
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
This commit is contained in:
@@ -208,7 +208,7 @@ WalSummarizerShmemInit(void)
|
||||
* Entry point for walsummarizer process.
|
||||
*/
|
||||
void
|
||||
WalSummarizerMain(char *startup_data, size_t startup_data_len)
|
||||
WalSummarizerMain(const void *startup_data, size_t startup_data_len)
|
||||
{
|
||||
sigjmp_buf local_sigjmp_buf;
|
||||
MemoryContext context;
|
||||
|
||||
Reference in New Issue
Block a user