close a psql database in linux code example Example: postgres delete database CREATE DATABASE testdb1; DROP DATABASE testdb1;