Thread: Amendment to linux rc script

Amendment to linux rc script

From
"Kevin O' Riordan"
Date:
Hi Postgres-people,
    in the linux rc script for (start|stop)ing postgres
a comment says to add the following lines to the postgres
users' .bash_profile:

    PATH=$PATH:$HOME/bin
    MANPATH=$MANPATH:/opt/pgsql/man
    PGLIB=/opt/pgsql/lib
    PGDATA=/opt/pgsql/data

There should also be a line to export said variables, like so:

    export PATH MANPATH PGLIB PGDATA

Had problems with that when setting up postgres on redhat just now.


Thanks for an excellent database package !
-kev


--
trees can't You grep dead

Re: Amendment to linux rc script

From
Bruce Momjian
Date:
Seems that is not our script, but made by some other organization.

>
> Hi Postgres-people,
>     in the linux rc script for (start|stop)ing postgres
> a comment says to add the following lines to the postgres
> users' .bash_profile:
>
>     PATH=$PATH:$HOME/bin
>     MANPATH=$MANPATH:/opt/pgsql/man
>     PGLIB=/opt/pgsql/lib
>     PGDATA=/opt/pgsql/data
>
> There should also be a line to export said variables, like so:
>
>     export PATH MANPATH PGLIB PGDATA
>
> Had problems with that when setting up postgres on redhat just now.
>
>
> Thanks for an excellent database package !
> -kev
>
>
> --
> trees can't You grep dead
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026