Re: Install question - Mailing list pgsql-novice

From Tom Lane
Subject Re: Install question
Date
Msg-id 11311.1064873925@sss.pgh.pa.us
Whole thread Raw
In response to Re: Install question  ("Mickey" <mickey@mcnjeni.com>)
List pgsql-novice
"Mickey" <mickey@mcnjeni.com> writes:
> I was instructed to add this:
> POSTGRESHOME=/usr/local/pgsql
> MANPATH=$POSTGRESHOME/man:$MANPATH
> PATH=$POSTGRESHOME/bin:$PATH
> PGDATA=$POSTGRESHOME/data
> LD_LIBRARY_PATH=$POSTGRESHOME/lib:$LD_LIBRARY_PATH
> export LD_LIBRARY_PATH MANPATH PATH PGDATA

> To this file:
>  /etc/profile

> Which I have done, and it has been saved ;)

/etc/profile won't affect anything until you log in again.  Maybe not
then, depending on what shell you use, but try re-logging-in and then
look at the output of "env" to see if PGDATA has been set.

            regards, tom lane

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Install question
Next
From: Cath Lawrence
Date:
Subject: SELECT syntax question - combining COUNT and DISTINCT