pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Edgar Castanedo <ecastanedo@netvolution.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: redhat 7.3 problem
Date: 11 Jul 2002 14:29:51 +0100
Message-ID: <1026394192.15860.9.camel@linda> (raw)
In-Reply-To: <agialk$1fgu$1@news.hub.org>
References: <agialk$1fgu$1@news.hub.org>

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 




view thread (3+ messages)  latest in thread

Message-ID: <1026394192.15860.9.camel@linda>
Permalink:  ../1026394192.15860.9.camel@linda/
Also on:    postgresql.org/message-id/1026394192.15860.9.camel@linda

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: olly@lfix.co.uk, ecastanedo@netvolution.com
  Subject: Re: redhat 7.3 problem
  In-Reply-To: <1026394192.15860.9.camel@linda>
  References: <agialk$1fgu$1@news.hub.org> <1026394192.15860.9.camel@linda>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox