next up previous contents
Next: Starting the Client Terminal Up: PostgresMiniManual Previous: Shutting Down the DBMS   Contents

Creating and Deleting a Database

In order to create or delete a database the postmaster must be running. Once the postmaster is running, you can create a database called mydatabase by issuing the command:

\fbox{
\begin{minipage}{4.5in}
{\tt \$ createdb mydatabase}
\end{minipage} }

To delete the database that you just created type:

\fbox{
\begin{minipage}{4.5in}
{\tt \$ dropdb mydatabase}
\end{minipage} }



Timothy G Mauch 2003-11-05