Skip to content

Commit 45e576c

Browse files
author
Alena Rybakina
committed
Fix uint64 format in some output messages.
1 parent 01c1e41 commit 45e576c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postprocessing.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ aqo_timeout_handler(void)
630630
if (aqo_statement_timeout == 0)
631631
elog(NOTICE, "[AQO] Time limit for execution of the statement was expired. AQO tried to learn on partial data.");
632632
else
633-
elog(NOTICE, "[AQO] Time limit for execution of the statement was expired. AQO tried to learn on partial data. Timeout is %ld", max_timeout_value);
633+
elog(NOTICE, "[AQO] Time limit for execution of the statement was expired. AQO tried to learn on partial data. Timeout is "UINT64_FORMAT"", max_timeout_value);
634634

635635
learnOnPlanState(timeoutCtl.queryDesc->planstate, (void *) &ctx);
636636
MemoryContextSwitchTo(oldctx);
@@ -827,7 +827,7 @@ aqo_ExecutorEnd(QueryDesc *queryDesc)
827827
if ( aqo_learn_statement_timeout && aqo_statement_timeout > 0 && error >= 0.1)
828828
{
829829
int64 fintime = increase_smart_timeout();
830-
elog(NOTICE, "[AQO] Time limit for execution of the statement was increased. Current timeout is %ld", fintime);
830+
elog(NOTICE, "[AQO] Time limit for execution of the statement was increased. Current timeout is "UINT64_FORMAT"", fintime);
831831
}
832832

833833
pfree(stat);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy