On Wed, 2002-07-10 at 22:58, Edgar Castanedo wrote:
> I just installed redhat linux 7.3. During the initial installation, I had it
> install postgresql. After I su as postgres, I then run the command 'psql
> template1'. At the psql command prompt, I try to run various command, but
> none of them work. When I hit enter, the command line just opens up another
> line and my command is lost into infinity.
> 
> Any ideas why this is happening?
> 
> Nothing works. I cannot run select statements.... Nothings....

SQL statements/commands are multi-line.  They must be terminated by a
semi-colon (;).  It sounds as though you have forgotten this...

You can also use \g  (enter \? for help on psql internal commands).
-- 
Oliver Elphick                                [EMAIL PROTECTED]
Isle of Wight, UK                            
http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "I waited patiently for the LORD; and he inclined unto 
      me, and heard my cry. He brought me up also out of an 
      horrible pit, out of the miry clay, and set my feet 
      upon a rock, and established my goings. And he hath 
      put a new song in my mouth, even praise unto our God.
      Many shall see it, and fear, and shall trust in the 
      LORD."                 Psalms 40:1-3 


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to