Index: openacs-4/packages/acs-core-docs/www/postgres.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/postgres.html,v diff -u -r1.41.2.5 -r1.41.2.6 --- openacs-4/packages/acs-core-docs/www/postgres.html 15 Dec 2005 19:27:48 -0000 1.41.2.5 +++ openacs-4/packages/acs-core-docs/www/postgres.html 9 Jan 2006 01:28:53 -0000 1.41.2.6 @@ -106,7 +106,7 @@ [postgres ~] emacs ~postgres/.bashrc

Paste this line into .bash_profile:

source $HOME/.bashrc

Paste these lines into .bashrc:

export PATH=/usr/local/bin/:$PATH:/usr/local/pgsql/bin
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib

Test this by logging in as postgres and checking the - paths; you should see /usr/local/pgsql/bin

[root src]# su - postgres
+	paths; you should see /usr/local/pgsql/bin somewhere in the output (the total output is system-dependent so yours may vary)

[root src]# su - postgres
 [postgres pgsql]$ env | grep PATH
 LD_LIBRARY_PATH=:/usr/local/pgsql/lib
 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin:/usr/local/pgsql/bin:/usr/local/pgsql/bin