Re: [SQL] Problems invoking psql. Help please.

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Hugh Esco <hesco(at)greens(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [SQL] Problems invoking psql. Help please.
Date: 2002-11-19 14:49:32
Message-ID: 1037717372.29594.23.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Elphick(at)lfix(dot)co(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2002-11-19 14:59:02 Re: [SQL] Problems invoking psql. Help please.
Previous Message Tom Lane 2002-11-19 14:11:05 Re: value too long for type character varying(25)