pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jasiek@klaster.net
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hugh Esco <hesco@greens.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problems invoking psql. Help please.
Date: Sun, 17 Nov 2002 21:24:04 +0100
Message-ID: <20021117202404.GA1040@serwer> (raw)
In-Reply-To: <5855.1037560617@sss.pgh.pa.us>
References: <5.1.0.14.0.20021116140623.031cbec0@petra.cagreens.org>
	<5855.1037560617@sss.pgh.pa.us>

> 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



view thread (31+ messages)  latest in thread

Message-ID: <20021117202404.GA1040@serwer>
Permalink:  ../20021117202404.GA1040@serwer/
Also on:    postgresql.org/message-id/20021117202404.GA1040@serwer

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jasiek@klaster.net, tgl@sss.pgh.pa.us, hesco@greens.org
  Subject: Re: Problems invoking psql. Help please.
  In-Reply-To: <20021117202404.GA1040@serwer>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox