how to delete database in postgresql owner code example Example: postgres delete database CREATE DATABASE testdb1; DROP DATABASE testdb1;