Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A52AB4763F9 for ; Sun, 17 Nov 2002 15:35:14 -0500 (EST) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by postgresql.org (Postfix) with ESMTP id C3C5F47615F for ; Sun, 17 Nov 2002 15:34:59 -0500 (EST) Received: by serwer.skawsoft.com.pl (Postfix, from userid 1000) id 79BA52BD76; Sun, 17 Nov 2002 21:24:04 +0100 (CET) Date: Sun, 17 Nov 2002 21:24:04 +0100 To: Tom Lane Cc: Hugh Esco , pgsql-sql@postgresql.org Subject: Re: Problems invoking psql. Help please. Message-ID: <20021117202404.GA1040@serwer> References: <5.1.0.14.0.20021116140623.031cbec0@petra.cagreens.org> <5855.1037560617@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5855.1037560617@sss.pgh.pa.us> User-Agent: Mutt/1.3.28i From: jasiek@klaster.net X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/252 X-Sequence-Number: 10394 > You seem to have a very bizarre setup there --- there is no such thing > as "readpgenv" in the standard Postgres distribution, and > /usr/lib/postgresql/bin/ isn't the standard place to put the executable > files either. Perhaps the above is normal for the Debian package of > Postgres, but I'm afraid you'll have to ask the Debian packager for > help. Nobody using other platforms is likely to be able to help... I have Debian and Postgres installed from .deb package. Postgres is installed in /usr/lib/postgresql by default and it contains readpgenv. Psql stops working as described, when I remove executable attribute from readpgenv. readpgenv is a bash script and has only 3 lines: #!/bin/bash . /etc/postgresql/postgresql.env env postgresql.env file is an export of PGDATA/PGLIB/PGACCES_HOME variables Tomasz Myrta