pg_stat_monitor/regression/sql
Diego Fronza a716273f19 PG-338: Fix counters regression test.
After fixing the problem with utility statements, this whole block:
do $$
declare
   n integer:= 1;
begin
	loop
		PERFORM a,b,c,d FROM t1, t2, t3, t4
			 WHERE t1.a = t2.b AND t3.c = t4.d ORDER BY a;
		exit when n = 1000;
		n := n + 1;
	end loop;
end $$;

Is only processed once, as those are nested statements, in order to
match the 1000 statements the GUC pg_stat_monitor.track must be set to
'all' and then back to the default of 'top' when done testing it.
2022-03-01 13:13:34 +05:00
..
application_name.sql PG-186: Add support to monitor query execution plan. 2021-03-12 18:55:12 +00:00
application_name_unique.sql PG-267 Add testcase to test histogram. 2022-02-17 19:50:25 +05:00
basic.sql PG-186: Add support to monitor query execution plan. 2021-03-17 18:56:39 +05:00
cmd_type.sql PG-186: Add support to monitor query execution plan. 2021-03-17 18:56:39 +05:00
counters.sql PG-338: Fix counters regression test. 2022-03-01 13:13:34 +05:00
database.sql PG-186: Add support to monitor query execution plan. 2021-03-12 18:55:12 +00:00
error.sql PG-221: Use alternate of GetUserID function in error hook. 2021-08-31 14:55:53 +00:00
error_insert.sql PG-267 Add testcase to test histogram. 2022-02-17 19:50:25 +05:00
guc.sql PG-183. Move tests to separate directory 2021-02-20 23:17:34 +03:00
histogram.sql PG-267 Add testcase to test histogram. 2022-02-17 19:50:25 +05:00
relations.sql DISTPG-271: Fix the failing 'relations' testcase 2021-08-02 19:37:14 +05:00
rows.sql PG-188: Added a new column to monitor the query state. 2021-03-21 00:04:39 +05:00
state.sql PG-188: Added a new column to monitor the query state. 2021-03-21 00:17:17 +05:00
tags.sql PG-193: Comment based tags to identify different parameters. 2021-05-19 22:15:37 +05:00
top_query.sql PG-186: Add support to monitor query execution plan. 2021-03-12 18:55:12 +00:00
user.sql PG-186: Add support to monitor query execution plan. 2021-03-12 19:09:28 +00:00
version.sql PG-186: Add support to monitor query execution plan. 2021-03-12 18:55:12 +00:00