Fix process name

pull/7254/head
EmelSimsek 2023-10-23 21:32:32 +03:00 committed by Emel Şimşek
parent 0a0382b6d7
commit afa24ed38e
1 changed files with 3 additions and 3 deletions

View File

@ -157,9 +157,9 @@ InitializeMaintenanceDaemonForMainDb(void)
memset(&worker, 0, sizeof(worker));
SafeSnprintf(worker.bgw_name, sizeof(worker.bgw_name),
"Citus Maintenance Daemon: %u/%u",
0, 0);
strcpy_s(worker.bgw_name, sizeof(worker.bgw_name),
"Citus Maintenance Daemon for Main DB");
/* request ability to connect to target database */
worker.bgw_flags = BGWORKER_SHMEM_ACCESS | BGWORKER_BACKEND_DATABASE_CONNECTION;