Re: Problems invoking psql. Help please.

From: jasiek(at)klaster(dot)net
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hugh Esco <hesco(at)greens(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Problems invoking psql. Help please.
Date: 2002-11-17 20:24:04
Message-ID: 20021117202404.GA1040@serwer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2002-11-17 22:51:35 Re: Trees: maintaining pathnames
Previous Message Josh Berkus 2002-11-17 19:43:33 Press Release -- Just Waiting for Tom