Disconnect client connections of a given userdisconnect_user disconnects clients whose username matches the username_pattern string given as an argument, and returns an integer value giving the number of clients disconnected. This can be used after DELETE USER or REVOKE statement to make sure that the affected user has no open connections.
Disconnect client connections of a given userdisconnect_user disconnects clients whose
username matches the username_pattern string given as an argument, and
returns an integer value giving the number of clients disconnected.
This can be used after DELETE USER or REVOKE statement to make sure that
the affected user has no open connections.