Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfcb577a

Browse files
committed
Remove regression tests on smart statement timeout.
Should rethink test principles of time-dependendent features to make it morestable.
1 parentaff4ce7 commitfcb577a

File tree

3 files changed

+2
-141
lines changed

3 files changed

+2
-141
lines changed

‎expected/smart_statement_timeout.out

Lines changed: 0 additions & 94 deletions
This file was deleted.

‎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"INT64_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
int64fintime=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);

‎sql/smart_statement_timeout.sql

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp