postgresql command to create database code example Example: psql create database CREATE DATABASE dbname;