Thread

  1. Amendment to linux rc script

    Kevin O' Riordan <koriordan@compsoc.com> — 2001-04-17T14:29:30Z

    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
    
    
  2. Re: Amendment to linux rc script

    Bruce Momjian <pgman@candle.pha.pa.us> — 2001-04-18T18:53:20Z

    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