Postgres module

close_listener

procedureextensionexperimentalsince 0.27.0Source

Stops listening: the connection goes back to the pool without its subscriptions, and the listener is freed. Notifications not taken yet are dropped.

close_listener :: (listener: *Listener)

Stops listening: the connection goes back to the pool without its subscriptions, and the listener is freed. Notifications not taken yet are dropped.

Parameters

listener: *Listener
the listener to close. Null does nothing.

See also