Re: installing postgres7.3.4 problem - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: installing postgres7.3.4 problem
Date
Msg-id 20030826164133.GA16540@wolff.to
Whole thread Raw
In response to installing postgres7.3.4 problem  (javier garcia - CEBAS <rn001@cebas.csic.es>)
List pgsql-general
On Tue, Aug 26, 2003 at 18:10:10 +0200,
  javier garcia - CEBAS <rn001@cebas.csic.es> wrote:
> # su - postgres
> (I don't know the meaning of a "login shell", but this is not my problem)
> And then appears the message (in  spanish):
> "su: atention: we can't change to the directory /var/lib/pgsql: the directory
> or file doesn't exists"
>
> Previously I had postgres databases in /var/lib/pgsql. But I've uninstalled
> the previously the 7.2 version and I don't know why this happens.
>
> Could anyone guide me with this?

/var/lib/pgsql is the home directory for the postgres user.
You can avoid this problem by not using the - in the su command.

pgsql-general by date:

Previous
From: Mike Mascari
Date:
Subject: Re: is linux ready for databases ? (Ziff Davis article
Next
From: Robert Treat
Date:
Subject: Re: pl/tcl trigger question