Re: Multiple databases on seperate drives/file systems?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scot L(dot) Harris" <webid(at)cfl(dot)rr(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Multiple databases on seperate drives/file systems?
Date: 2004-06-09 15:27:56
Message-ID: 21429.1086794876@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Scot L. Harris" <webid(at)cfl(dot)rr(dot)com> writes:
> The startup script in /etc/init.d does have the su line as you describe
> above. On RH8 it appears that /bin/sh is linked to /bin/bash. So does
> the shell being executed not look at the .bash_profile since it was
> invoked as /bin/sh?

Not sure; you could probably find out with some study of its man page.
Seems likely though, else you'd not be here complaining ;-)

> Or can I just put the PGDATA2 environment variable in a .profile file?

That would be an alternative answer. Be aware though that future RH
releases will remove the -s switch, so eventually you'll want to do
it that way.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Prabu Subroto 2004-06-09 15:39:30 Re: postgres on SuSE 9.1
Previous Message Scot L. Harris 2004-06-09 15:04:34 Re: Multiple databases on seperate drives/file systems?