I was looking for a way to disconnect a single, known bad actor role from a PostgresQL database immediately. I want to prevent them from making further changes as quickly as possible, and don't want them to be able to immediately reconnect and continue. I don't want this to disrupt any other connections that are currently working on the database.
I saw some information here, but it was not clear how to apply that to this case cleanly: Force client disconnect using PostgreSQL