CREATEDB(1) PostgreSQL Client Applications CREATEDB(1) NAME createdb - PostgreSQL SYNOPSIS createdb [ option... ] [ dbname ] [ description ] DESCRIPTION createdb PostgreSQL -O createdb SQL CREATE DATABASE [create_database(7)] OPTIONS createdb dbname PostgreSQL description -D location --location location initlocation(1). -e --echo createdb -E encoding --encoding encoding -O owner --owner owner -q --quiet -T template --template template -h-p-U -W-e psql -O-D-T -E SQL CREATE DATABASE [create_database(7)] createdb -h host --host host Unix -p port --port port TCP Unix -U username --username username -W --password ENVIRONMENT PGDATABASE PGHOST PGPORT PGUSER PGUSER PGDATABASE DIAGNOSTICS CREATE DATABASE [create_database(7)] psql(1) libpq EXAMPLES demo $ createdb demo CREATE DATABASE CREATE DATABASE SQL eden demo 5000 LATIN1 $ createdb -p 5000 -h eden -E LATIN1 -e demo CREATE DATABASE "demo" WITH ENCODING = 'LATIN1' CREATE DATABASE SEE ALSO dropdb(1), CREATE DATABASE [create_database(7)] Postgresql man man https://github.com/man-pages-zh/manpages- zh Application 2003-11-02 CREATEDB(1)