pgadmin drop database in use code example Example: postgres delete database CREATE DATABASE testdb1; DROP DATABASE testdb1;