Thread: Help

Help

From
"Arman Meltonyan"
Date:
I've just installed the beta version of PeerDirect's Postgres. According to the instructions I am able to create a database with createdb comand, after that I do psql and get a prompt (e.g default =#). When I try to execute any of the SQL comannds I get a bad command error. If I do \h I get Help available: message and that's it. Nothing else is coming up? I know I'm doing something wrong I just need to know what is it.
 
Can anyone give me an advise on this?
 
Thanks!

Re: Help

From
Date:
Are you opening the database you created?   That is, at your command line
you will execute 'psql databasename' to load the database you just created.
By not specifying a database when you load psql you are opening a default
template.

--

KG Hagans Professional Services Group
Westerville, Ohio
ken@kghagans.com
www.kghagans.com


""Arman Meltonyan"" <armelton@onemain.com> wrote in message
news:002801c3ec7d$03a136f0$6400a8c0@laptop...
I've just installed the beta version of PeerDirect's Postgres. According to
the instructions I am able to create a database with createdb comand, after
that I do psql and get a prompt (e.g default =#). When I try to execute any
of the SQL comannds I get a bad command error. If I do \h I get Help
available: message and that's it. Nothing else is coming up? I know I'm
doing something wrong I just need to know what is it.

Can anyone give me an advise on this?

Thanks!