Skip to content

Commit 7afd4ac

Browse files
authored
Merge pull request #233 from postgrespro/PGPRO-5755
Changes for gcc-11 compilation
2 parents 4ae1f1b + 4870f5c commit 7afd4ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pathman_workers.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ extern PGDLLEXPORT void bgw_main_concurrent_part(Datum main_arg);
5757

5858
static void handle_sigterm(SIGNAL_ARGS);
5959
static void bg_worker_load_config(const char *bgw_name);
60-
static bool start_bgworker(const char bgworker_name[BGW_MAXLEN],
61-
const char bgworker_proc[BGW_MAXLEN],
60+
static bool start_bgworker(const char *bgworker_name,
61+
const char *bgworker_proc,
6262
Datum bgw_arg, bool wait_for_shutdown);
6363

6464

@@ -166,8 +166,8 @@ bg_worker_load_config(const char *bgw_name)
166166
* Common function to start background worker.
167167
*/
168168
static bool
169-
start_bgworker(const char bgworker_name[BGW_MAXLEN],
170-
const char bgworker_proc[BGW_MAXLEN],
169+
start_bgworker(const char *bgworker_name,
170+
const char *bgworker_proc,
171171
Datum bgw_arg, bool wait_for_shutdown)
172172
{
173173
#define HandleError(condition, new_state) \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy