Re: [SQL] Problems invoking psql. Help please. - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: [SQL] Problems invoking psql. Help please.
Date
Msg-id 1037717372.29594.23.camel@linda
Whole thread Raw
In response to Re: [SQL] Problems invoking psql. Help please.  (Hugh Esco <hesco@greens.org>)
List pgsql-novice
On Tue, 2002-11-19 at 04:48, Hugh Esco wrote:
> Thank you so much, Mallah, Tomasz Myrta, Luis Sousa,
> Achilleus Mantzios, Tom Lane, Bill Eaton and Oliver Elphick.
>
> I have chmod 755 my readpgenv file, and then copied the
> shell script suggested by Tomasz Myrta into that file,
> yielding these results:
>
> >biko:/usr/lib/postgresql/bin# cd /usr/bin
> >biko:/usr/bin# ./psql -U postgres
> >No database specified
> >biko:/usr/bin# ./psql -U postgres template1
> >/usr/lib/postgresql/bin/readpgenv: ./etc/postgresql/postgresql.env: No
> >such file
> >  or directory
>
> How should that file read?
>
> >Could not execv /usr/lib/postgresql/bin/psql

I don't really know what is going on here.  I suggest the quickest and
easiest thing to do is to purge and reinstall the packages, since they
seem to have got into a total mess, somehow.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "To show forth thy lovingkindness in the morning, and
      thy faithfulness every night."     Psalms 92:2


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: value too long for type character varying(25)
Next
From: Oliver Elphick
Date:
Subject: Re: [SQL] Problems invoking psql. Help please.