Provided by: manpages-zh_1.5.2-1_all bug

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  <laser@pgsqldb.org>