File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 1
1
CREATE EXTENSION sr_plan;
2
- set client_min_messages = LOG;
3
2
CREATE TABLE test_table(test_attr1 int, test_attr2 int);
4
3
SET sr_plan.write_mode = true;
5
4
SELECT * FROM test_table WHERE test_attr1 = _p(10);
@@ -35,19 +34,16 @@ SELECT * FROM test_table WHERE test_attr1 = 15;
35
34
36
35
UPDATE sr_plans SET enable = true;
37
36
SELECT * FROM test_table WHERE test_attr1 = _p(10);
38
- LOG: Ok we find saved plan.
39
37
test_attr1 | test_attr2
40
38
------------+------------
41
39
(0 rows)
42
40
43
41
SELECT * FROM test_table WHERE test_attr1 = _p(15);
44
- LOG: Ok we find saved plan.
45
42
test_attr1 | test_attr2
46
43
------------+------------
47
44
(0 rows)
48
45
49
46
SELECT * FROM test_table WHERE test_attr1 = 10;
50
- LOG: Ok we find saved plan.
51
47
test_attr1 | test_attr2
52
48
------------+------------
53
49
(0 rows)
@@ -83,4 +79,3 @@ SELECT * FROM test_table WHERE test_attr1 = 15;
83
79
------------+------------
84
80
(0 rows)
85
81
86
- RESET client_min_messages;
Original file line number Diff line number Diff line change 1
1
CREATE EXTENSION sr_plan;
2
- set client_min_messages = LOG;
3
2
4
3
CREATE TABLE test_table (test_attr1 int , test_attr2 int );
5
4
SET sr_plan .write_mode = true;
@@ -26,5 +25,3 @@ SELECT * FROM test_table WHERE test_attr1 = _p(10);
26
25
SELECT * FROM test_table WHERE test_attr1 = 10 ;
27
26
SELECT * FROM test_table WHERE test_attr1 = 10 ;
28
27
SELECT * FROM test_table WHERE test_attr1 = 15 ;
29
-
30
- RESET client_min_messages;
You can’t perform that action at this time.
0 commit comments