Обсуждение: redhat 7.3 problem

Поиск
Список
Период
Сортировка

redhat 7.3 problem

От
"Edgar Castanedo"
Дата:
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....

Please help!

Thanks in Advance....





Re: redhat 7.3 problem

От
Oliver Elphick
Дата:
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


Re: redhat 7.3 problem

От
"Edgar Castanedo"
Дата:
It looks like this was the problem all along. How could I have missed
THAT?

Thanks for your help!

-----Original Message-----
From: Oliver Elphick [mailto:olly@lfix.co.uk]
Sent: Thursday, July 11, 2002 6:30 AM
To: Edgar Castanedo
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] redhat 7.3 problem

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