Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by postgresql.org (Postfix) with ESMTP id 81EE7474E42 for ; Thu, 11 Jul 2002 09:24:58 -0400 (EDT) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 17SdwL-0004BX-0U; Thu, 11 Jul 2002 14:25:01 +0100 Received: from localhost ([127.0.0.1] helo=localhost.localdomain ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 17Se12-0007Hv-00; Thu, 11 Jul 2002 14:29:52 +0100 Subject: Re: redhat 7.3 problem From: Oliver Elphick To: Edgar Castanedo Cc: pgsql-admin@postgresql.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 11 Jul 2002 14:29:51 +0100 Message-Id: <1026394192.15860.9.camel@linda> Mime-Version: 1.0 X-Archive-Number: 200207/178 X-Sequence-Number: 4864 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 Oliver.Elphick@lfix.co.uk 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