postgresql create new database from commandline code example Example: psql create database CREATE DATABASE dbname;