I am working on a big postgresql base but my /var is too small, I read doc to 
take my big database in alternate location.

For do that I must set up an envirronement variable who define atlernate path 
when postgres start, I set it in /var/lib/pgsql/.bashrc because this file is 
read by bash and the initscript do an su but in fact this file is not read 
because the exact command line is:

su -l postgres -s /bin/sh -c ...(starting backend)

I suggest replacing sh by bash to be sure that ~/.bashrc is read:
su -l postgres -s /bin/bash -c ...

I correct it with this in my config...

Thanks.
-- 
Linux pour Mac !? Enfin le moyen de transformer
une pomme en v�ritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/

Reply via email to