Skip to main content

Module hooks

Module hooks 

Source
Expand description

Inverted runtime hooks for no-mistakes-postgres-engine.

Traits§

EngineHooks
MetricsObserver

Functions§

current_observer
Return the active invocation metrics observer from registered hooks, if any.
has_matching_disable_directive
Check whether source suppresses rule_id at 1-based line via registered hooks.
register_hooks
Register process-wide PostgreSQL engine hooks (first registration wins).