About this question
I need to remove a database from a PostgreSQL DB cluster. How can I do it even if there are active connections? I need sort of a -force flag, that will drop all connections and then the DB.
How can I implement it?
I'm using drop dB currently, but other tools are possible.