Re: [GENERAL] Customising pg directories

2012-06-28 Thread Raghavendra
Thanks too... :) --Raghav On Thu, Jun 28, 2012 at 4:52 PM, Ben Carbery wrote: > Too easy, thanks. > > On 28 June 2012 18:38, Raghavendra > wrote: > > On Thu, Jun 28, 2012 at 1:20 PM, Ben Carbery > wrote: > >> > >> I am building a new server with a separate partition for data and > >> xlogs. W

Re: [GENERAL] Customising pg directories

2012-06-28 Thread Raghavendra
On Thu, Jun 28, 2012 at 1:20 PM, Ben Carbery wrote: > 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

[GENERAL] Customising pg directories

2012-06-28 Thread Ben Carbery
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 in