Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4870f5c

Browse files
committed
Changes for gcc-11 compilation
1 parent 4ae1f1b commit 4870f5c

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)