| From: | John DeSoi <desoi(at)pgedit(dot)com> |
|---|---|
| To: | KeithW(at)narrowpathinc(dot)com |
| Cc: | "PostgreSQL Novice" <pgsql-novice(at)postgresql(dot)org> |
| Subject: | Re: N/A |
| Date: | 2005-01-14 18:32:47 |
| Message-ID: | B04D28C2-665A-11D9-B2D0-000A95B03262@pgedit.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | sarlav kumar | 2005-01-14 18:36:22 | SQL from shell script |
| Previous Message | Keith Worthington | 2005-01-14 17:42:46 | N/A |