Re: Getting the command line to work - Mailing list pgsql-bugs

From Dave Page
Subject Re: Getting the command line to work
Date
Msg-id 937d27e10805211105j297e7d8fkcb0d0418bb1add84@mail.gmail.com
Whole thread Raw
In response to Getting the command line to work  ("Paul Jordan" <pjordan@oxy.edu>)
List pgsql-bugs
On Wed, May 21, 2008 at 6:43 PM, Paul Jordan <pjordan@oxy.edu> wrote:
> Hi. Perhaps this isn't the proper place to send this, but it's the only
> address I have. I've installed postgres and I'm trying to use the command
> prompt to create a database (PGAdmin III having failed miserably at the
> task).

Please define "failed miserably". pgAdmin should only ever fail if you
have a problem such as lack of privileges or disk space or similar,
and then should give you an appropriate error message.

> The documentation I'm working with, created by people I trust know
> what they're doing, says that I should enter the following:
>
> "createdb qf_local -U postgres -W -h localhost"

Unfortunately it seems they don't know what they're doing. Try:

createdb -U postgres -W -h localhost qf_local

Per the docs at http://www.postgresql.org/docs/8.3/interactive/app-createdb.html


--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: "Paul Jordan"
Date:
Subject: Getting the command line to work
Next
From: Daniel Migowski
Date:
Subject: Deadlock condition in driver