Thread: pg_xlog
Hi,
Could you please send me an advice how to configure Postgres database
With non standard pg_xlog directory location i.e. on other (non db) physical disk ???
Leszek Dukwicz
On Wed, 7 Jul 2004 Leszek.Dukwicz@brebank.com.pl wrote: > Hi, > > Could you please send me an advice how to configure Postgres database > > With non standard pg_xlog directory location i.e. on other (non db) physical > disk ??? One word: symlinks. -- Sam Barnett-Cormack Software Developer | Student of Physics & Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University
On Wed, 2004-07-07 at 04:31, Leszek.Dukwicz@brebank.com.pl wrote: > Hi, > > Could you please send me an advice how to configure Postgres database > > With non standard pg_xlog directory location i.e. on other (non db) > physical disk ??? Easy: su - postgres pg_ctl stop cd $PGDATA mkdir /mnt/drive2/pg_xlog cp -p pg_xlog/* /mnt/drive2/pg_xlog/ mv pg_xlog pg_xlog_old ln -s /mnt/drive2/pg_xlog pg_xlog pg_ctl start