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

Commit e4e2ab0

Browse files
author
Vladimir Ershov
committed
format
1 parent 35af5fb commit e4e2ab0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scheduler_manager.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -959,14 +959,14 @@ void init_executor_shared_data(schd_executor_share_t *data, scheduler_manager_ct
959959
strcpy(data->database, ctx->database);
960960
else
961961
elog(ERROR, "String \"%s\"\n"
962-
"has %zu symbols, while it should have less than %d symbols.",
962+
"has %d symbols, while it should have less than %d symbols.",
963963
ctx->database, strlen(ctx->database), PGPRO_SCHEDULER_DBNAME_MAX);
964964

965965
if(strlen(job->node) < PGPRO_SCHEDULER_NODENAME_MAX)
966966
strcpy(data->nodename, job->node);
967967
else
968968
elog(ERROR, "String \"%s\"\n"
969-
"has %zu symbols, while it should have less than %d symbols.",
969+
"has %d symbols, while it should have less than %d symbols.",
970970
job->node, strlen(job->node), PGPRO_SCHEDULER_NODENAME_MAX);
971971

972972
data->new_job = true;
@@ -1800,14 +1800,14 @@ int start_at_worker(scheduler_manager_ctx_t *ctx, int pos)
18001800
strcpy(shm_data->database, ctx->database);
18011801
else
18021802
elog(ERROR, "String \"%s\"\n"
1803-
"has %zu symbols, while it should have less than %d symbols.",
1803+
"has %d symbols, while it should have less than %d symbols.",
18041804
ctx->database, strlen(ctx->database), PGPRO_SCHEDULER_DBNAME_MAX);
18051805

18061806
if(strlen(ctx->nodename) < PGPRO_SCHEDULER_NODENAME_MAX)
18071807
strcpy(shm_data->nodename, ctx->nodename);
18081808
else
18091809
elog(ERROR, "String \"%s\"\n"
1810-
"has %zu symbols, while it should have less than %d symbols.",
1810+
"has %d symbols, while it should have less than %d symbols.",
18111811
ctx->nodename, strlen(ctx->nodename), PGPRO_SCHEDULER_NODENAME_MAX);
18121812

18131813
shm_data->stop_worker = false;

0 commit comments

Comments
 (0)