Skip to content

Commit f05e301

Browse files
committed
Remove regression tests on smart statement timeout.
Should rethink test principles of time-dependendent features to make it more stable.
1 parent 186252d commit f05e301

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
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);

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)
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