> Ari�n Huisken wrote:
>> In the homedir of the user postgres is a .bash_profile file where the
>> PGDATA=/var/lib/postgresql/data is set. You can try to change it.
>>
>> I myself do it a bit different. I move the default homedir of the user
>> postgres
>> (/var/lib/postgresql) to a new location (/vol1/pgsql in your case) 
>> and make a
>> symlink: ln -s /vol1/pgsql /var/lig/postgresql
>> In this case you don't have to worry after updates of the package and it is
>> really the most simple way of not having to edit any of the config files.
>
> I'm sorry, but *what* is the point of moving PGDATA?

For example when you have a large database, putting the postgresql data on a
seperate disk or raid set instead of the root partition, makes sense to me.

--
Ari�n Huisken
Xilay Software


_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to