postgresql/src/test/modules/test_session_hooks/README

12 lines
472 B
Plaintext

test_session_hooks
==================
test_session_hooks is an example of how to use session start and end
hooks.
This module will insert into a pre-existing table called "session_hook_log"
a log activity which happens at session start and end. It is possible
to control which user information is logged when using the configuration
parameter "test_session_hooks.username". If set, the hooks will log only
information of the session user matching the parameter value.