Re: N/A - Mailing list pgsql-novice

From John DeSoi
Subject Re: N/A
Date
Msg-id B04D28C2-665A-11D9-B2D0-000A95B03262@pgedit.com
Whole thread Raw
In response to N/A  ("Keith Worthington" <keithw@narrowpathinc.com>)
List pgsql-novice
On Jan 14, 2005, at 12:42 PM, Keith Worthington wrote:

> I thought that I could quickly create a new and empty database using
> psql but
> I obviously have the syntax messed up.  I have already worked around
> the issue
> by using pgadmin but I would appreciate your time if you could explain
> the
> correct way to accomplish this with psql.  TIA
>

The best way to accomplish this from the command line is to use
createdb instead of psql.

http://www.postgresql.org/docs/7.4/static/app-createdb.html


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-novice by date:

Previous
From: "Keith Worthington"
Date:
Subject: N/A
Next
From: sarlav kumar
Date:
Subject: SQL from shell script