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

Commit 0816cec

Browse files
author
Vladimir Ershov
committed
format
1 parent 17c9dff commit 0816cec

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

contrib/pgpro_scheduler/src/scheduler_manager.c

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -959,22 +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-
<<<<<<< HEAD
963-
"has %zu symbols, while it should have less than %d symbols.",
964-
=======
965-
"has %d symbols, while it should have less than %d symbols.",
966-
>>>>>>> PGPROEE10
962+
"has %lu symbols, while it should have less than %d symbols.",
967963
ctx->database, strlen(ctx->database), PGPRO_SCHEDULER_DBNAME_MAX);
968964

969965
if(strlen(job->node) < PGPRO_SCHEDULER_NODENAME_MAX)
970966
strcpy(data->nodename, job->node);
971967
else
972968
elog(ERROR, "String \"%s\"\n"
973-
<<<<<<< HEAD
974-
"has %zu symbols, while it should have less than %d symbols.",
975-
=======
976-
"has %d symbols, while it should have less than %d symbols.",
977-
>>>>>>> PGPROEE10
969+
"has %lu symbols, while it should have less than %d symbols.",
978970
job->node, strlen(job->node), PGPRO_SCHEDULER_NODENAME_MAX);
979971

980972
data->new_job = true;
@@ -1804,30 +1796,18 @@ int start_at_worker(scheduler_manager_ctx_t *ctx, int pos)
18041796
item->res_owner = CurrentResourceOwner;
18051797
shm_data = dsm_segment_address(item->shared);
18061798

1807-
<<<<<<< HEAD
1808-
=======
1809-
1810-
>>>>>>> PGPROEE10
18111799
if(strlen(ctx->database) < PGPRO_SCHEDULER_DBNAME_MAX)
18121800
strcpy(shm_data->database, ctx->database);
18131801
else
18141802
elog(ERROR, "String \"%s\"\n"
1815-
<<<<<<< HEAD
1816-
"has %zu symbols, while it should have less than %d symbols.",
1817-
=======
1818-
"has %d symbols, while it should have less than %d symbols.",
1819-
>>>>>>> PGPROEE10
1803+
"has %lu symbols, while it should have less than %d symbols.",
18201804
ctx->database, strlen(ctx->database), PGPRO_SCHEDULER_DBNAME_MAX);
18211805

18221806
if(strlen(ctx->nodename) < PGPRO_SCHEDULER_NODENAME_MAX)
18231807
strcpy(shm_data->nodename, ctx->nodename);
18241808
else
18251809
elog(ERROR, "String \"%s\"\n"
1826-
<<<<<<< HEAD
1827-
"has %zu symbols, while it should have less than %d symbols.",
1828-
=======
1829-
"has %d symbols, while it should have less than %d symbols.",
1830-
>>>>>>> PGPROEE10
1810+
"has %lu symbols, while it should have less than %d symbols.",
18311811
ctx->nodename, strlen(ctx->nodename), PGPRO_SCHEDULER_NODENAME_MAX);
18321812

18331813
shm_data->stop_worker = false;

0 commit comments

Comments
 (0)