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 11CREATE EXTENSION sr_plan;
2- set client_min_messages = LOG;
32CREATE TABLE test_table(test_attr1 int, test_attr2 int);
43SET sr_plan.write_mode = true;
54SELECT * FROM test_table WHERE test_attr1 = _p(10);
@@ -35,19 +34,16 @@ SELECT * FROM test_table WHERE test_attr1 = 15;
3534
3635UPDATE sr_plans SET enable = true;
3736SELECT * FROM test_table WHERE test_attr1 = _p(10);
38- LOG: Ok we find saved plan.
3937 test_attr1 | test_attr2
4038------------+------------
4139(0 rows)
4240
4341SELECT * FROM test_table WHERE test_attr1 = _p(15);
44- LOG: Ok we find saved plan.
4542 test_attr1 | test_attr2
4643------------+------------
4744(0 rows)
4845
4946SELECT * FROM test_table WHERE test_attr1 = 10;
50- LOG: Ok we find saved plan.
5147 test_attr1 | test_attr2
5248------------+------------
5349(0 rows)
@@ -83,4 +79,3 @@ SELECT * FROM test_table WHERE test_attr1 = 15;
8379------------+------------
8480(0 rows)
8581
86- RESET client_min_messages;
Original file line number Diff line number Diff line change 11CREATE EXTENSION sr_plan;
2- set client_min_messages = LOG;
32
43CREATE TABLE test_table (test_attr1 int , test_attr2 int );
54SET sr_plan .write_mode = true;
@@ -26,5 +25,3 @@ SELECT * FROM test_table WHERE test_attr1 = _p(10);
2625SELECT * FROM test_table WHERE test_attr1 = 10 ;
2726SELECT * FROM test_table WHERE test_attr1 = 10 ;
2827SELECT * 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