[postgresql] Postgresql - unable to drop database because of some auto connections to DB

Solution:
1. Shut down Pg server
enter image description here
2. It will disconnect all active connection
3. Restart Pg Server
4. Try your command