@@ -959,14 +959,14 @@ void init_executor_shared_data(schd_executor_share_t *data, scheduler_manager_ct
959
959
strcpy (data -> database , ctx -> database );
960
960
else
961
961
elog (ERROR , "String \"%s\"\n"
962
- "has %lu symbols, while it should have less than %d symbols." ,
962
+ "has %lu symbols, while it should have less than %d symbols." ,
963
963
ctx -> database , strlen (ctx -> database ), PGPRO_SCHEDULER_DBNAME_MAX );
964
964
965
965
if (strlen (job -> node ) < PGPRO_SCHEDULER_NODENAME_MAX )
966
966
strcpy (data -> nodename , job -> node );
967
967
else
968
968
elog (ERROR , "String \"%s\"\n"
969
- "has %lu symbols, while it should have less than %d symbols." ,
969
+ "has %lu symbols, while it should have less than %d symbols." ,
970
970
job -> node , strlen (job -> node ), PGPRO_SCHEDULER_NODENAME_MAX );
971
971
972
972
data -> new_job = true;
@@ -1800,14 +1800,14 @@ int start_at_worker(scheduler_manager_ctx_t *ctx, int pos)
1800
1800
strcpy (shm_data -> database , ctx -> database );
1801
1801
else
1802
1802
elog (ERROR , "String \"%s\"\n"
1803
- "has %lu symbols, while it should have less than %d symbols." ,
1803
+ "has %lu symbols, while it should have less than %d symbols." ,
1804
1804
ctx -> database , strlen (ctx -> database ), PGPRO_SCHEDULER_DBNAME_MAX );
1805
1805
1806
1806
if (strlen (ctx -> nodename ) < PGPRO_SCHEDULER_NODENAME_MAX )
1807
1807
strcpy (shm_data -> nodename , ctx -> nodename );
1808
1808
else
1809
1809
elog (ERROR , "String \"%s\"\n"
1810
- "has %lu symbols, while it should have less than %d symbols." ,
1810
+ "has %lu symbols, while it should have less than %d symbols." ,
1811
1811
ctx -> nodename , strlen (ctx -> nodename ), PGPRO_SCHEDULER_NODENAME_MAX );
1812
1812
1813
1813
shm_data -> stop_worker = false;
@@ -1970,7 +1970,7 @@ void manager_worker_main(Datum arg)
1970
1970
if (is_under_mtm ())
1971
1971
{
1972
1972
check_mtm_nodes_status ();
1973
- print_log_mtm_nodes ();
1973
+ /* print_log_mtm_nodes(); */
1974
1974
time_to_check = 3 ;
1975
1975
}
1976
1976
#endif
@@ -2019,7 +2019,7 @@ void manager_worker_main(Datum arg)
2019
2019
if (is_under_mtm () && !time_to_check -- )
2020
2020
{
2021
2021
check_mtm_nodes_status ();
2022
- print_log_mtm_nodes ();
2022
+ /* print_log_mtm_nodes(); */
2023
2023
time_to_check = 3 ;
2024
2024
}
2025
2025
#endif
0 commit comments