dbTalk Databases Forums  

Help

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Help in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Arman Meltonyan
 
Posts: n/a

Default Help - 02-06-2004 , 12:46 AM






I've just installed the beta version of PeerDirect's Postgres. According tothe 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 executeany 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!

Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: Help - 02-10-2004 , 10:48 AM






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 (AT) kghagans (DOT) com
www.kghagans.com


""Arman Meltonyan"" <armelton (AT) onemain (DOT) com> wrote

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!



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.