Skip to content

Commit a3681e5

Browse files
authored
Update README.md
1 parent 85c6173 commit a3681e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,10 @@ but if there is not enough shared memory, then the profiler is limited just to a
553553
The profiler can be activated by calling function `plpgsql_check_profiler(true)` and disabled
554554
by calling same function with `false` argument (or with literals `on`, `off`).
555555

556+
The plpgsql_check should be initialized before any plpgsql function is executed. Only
557+
early initialization ensures correct work of profiler and tracer. When you doesn't use
558+
`shared_preloaded_libraries`, you can use command `load 'plpgsql_check'` instead.
559+
556560
When plpgsql_check is initialized by `shared_preload_libraries`, another GUC is
557561
available to configure the amount of shared memory used by the profiler:
558562
`plpgsql_check.profiler_max_shared_chunks`. This defines the maximum number of

0 commit comments

Comments
 (0)