Skip to content

Changes for gcc-11 compilation #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/pathman_workers.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ extern PGDLLEXPORT void bgw_main_concurrent_part(Datum main_arg);

static void handle_sigterm(SIGNAL_ARGS);
static void bg_worker_load_config(const char *bgw_name);
static bool start_bgworker(const char bgworker_name[BGW_MAXLEN],
const char bgworker_proc[BGW_MAXLEN],
static bool start_bgworker(const char *bgworker_name,
const char *bgworker_proc,
Datum bgw_arg, bool wait_for_shutdown);


Expand Down Expand Up @@ -166,8 +166,8 @@ bg_worker_load_config(const char *bgw_name)
* Common function to start background worker.
*/
static bool
start_bgworker(const char bgworker_name[BGW_MAXLEN],
const char bgworker_proc[BGW_MAXLEN],
start_bgworker(const char *bgworker_name,
const char *bgworker_proc,
Datum bgw_arg, bool wait_for_shutdown)
{
#define HandleError(condition, new_state) \
Expand Down