| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
|---|---|
| To: | "Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com> | 
| Cc: | "Stephen Choularton" <mail(at)bymouth(dot)com>, pgsql-novice(at)postgresql(dot)org | 
| Subject: | Re: cannot makedb | 
| Date: | 2005-03-29 15:34:13 | 
| Message-ID: | 22561.1112110453@sss.pgh.pa.us | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-novice | 
"Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com> writes:
> There is no such command (that I know of). Looks like you really want to do a createdb or CREATE DATABASE
> command. createdb can be issued from an operating system prompt; CREATE DATABASE would be executed from
> inside psql. Both will crteate a database for you.
Also, the reason "nothing happened" is you didn't enter a semicolon.
A SQL command isn't complete until you do.  Had you typed "makedb mydb;"
then at least you'd have gotten a SQL syntax error, which might have
led your thoughts in the correct direction ...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gene.Brumm | 2005-03-29 16:09:25 | Connect to database using pg_connect | 
| Previous Message | Terry.Arnold | 2005-03-29 14:56:05 | oracle tools |