Customising pg directories - Mailing list pgsql-general

From Ben Carbery
Subject Customising pg directories
Date
Msg-id CACp6DjBBCYcfwAOtVOMRSvwtyOpv1=Qz=15Lz9qWJjON9BtS1g@mail.gmail.com
Whole thread Raw
Responses Re: Customising pg directories
List pgsql-general
I am building a new server with a separate partition for data and
xlogs. What is the correct way to do this?

Can I create a symlink from /var/lib/pgsql/9.1/data -> /pg_data (and
then a symlink in /pgdata for xlogs-> /pg_xlog)
Or do I have to modify $PGDATA in the init script?

This is all after installing packages but prior to 'service
postgresql-91 initdb'

cheers

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: create database from template requires the source database to be unused
Next
From: "Albe Laurenz"
Date:
Subject: Re: log_min_duration_statement modification for non superusers?