Skip to content

Commit cda1635

Browse files
committed
Add support of _p
1 parent 79875d3 commit cda1635

File tree

4 files changed

+176
-89
lines changed

4 files changed

+176
-89
lines changed

init.sql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ RETURNS anyelement
1919
AS 'MODULE_PATHNAME'
2020
LANGUAGE C STRICT VOLATILE;
2121

22-
23-
CREATE FUNCTION explain_jsonb_plan(jsonb)
24-
RETURNS text
25-
AS 'MODULE_PATHNAME'
26-
LANGUAGE C STRICT VOLATILE;
27-
2822
CREATE FUNCTION sr_plan_invalid_table() RETURNS event_trigger
2923
AS 'MODULE_PATHNAME' LANGUAGE C;
3024

sql/sr_plan.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
CREATE EXTENSION sr_plan;
22

3+
SET sr_plan.log_usage = NOTICE;
34
CREATE TABLE test_table(test_attr1 int, test_attr2 int);
45
SET sr_plan.write_mode = true;
56
SELECT * FROM test_table WHERE test_attr1 = _p(10);

0 commit comments

Comments
 (0)