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

Commitf05e301

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

File tree

4 files changed

+2
-142
lines changed

4 files changed

+2
-142
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);

‎regress_schedule

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ test: parallel_workers
1414
test: plancache
1515
test: update_functions
1616
test: statement_timeout
17-
test: smart_statement_timeout
1817
test: temp_tables
1918
test: top_queries
2019
test: relocatable

‎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