Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-06 Thread Bruce Momjian
Patch applied. Thanks. --- Euler Taveira de Oliveira wrote: > Peter Eisentraut wrote: > > > On the name of the option, it's not actually a "data" directory, so I'd > > just > > call it --xlogdir, parallel to --datadir.

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-03 Thread Bruce Momjian
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches It will be applied as soon as one of the PostgreSQL committers reviews and approves it. --- Eul

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-03 Thread Euler Taveira de Oliveira
Peter Eisentraut wrote: > On the name of the option, it's not actually a "data" directory, so I'd just > call it --xlogdir, parallel to --datadir. > Seems reasonable. Patch modified is attached. -- Euler Taveira de Oliveira http://www.timbira.com/ *** ./doc/src/sgml/ref/initdb.sgml.orig 2

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-03 Thread Peter Eisentraut
Am Mittwoch, 27. Dezember 2006 02:56 schrieb Euler Taveira de Oliveira: > This simple patch lets someone specifies the xlog directory at initdb > time. It uses symlinks to do it, and create and/or set permissions at > the directory as appropriate. On the name of the option, it's not actually a "da

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-02 Thread Alvaro Herrera
Tom Lane wrote: > Casey Duncan <[EMAIL PROTECTED]> writes: > > I guess the downside there is that it won't work on platforms that > > don't support symlinks, whereas the postmaster switch would. Not that > > I condone using such platforms ;^) > > Well, we already bit that bullet with respect t

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-02 Thread Tom Lane
Casey Duncan <[EMAIL PROTECTED]> writes: > I guess the downside there is that it won't work on platforms that > don't support symlinks, whereas the postmaster switch would. Not that > I condone using such platforms ;^) Well, we already bit that bullet with respect to tablespaces, and haven't g

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-02 Thread Casey Duncan
On Jan 2, 2007, at 7:18 AM, Tom Lane wrote: Peter Eisentraut <[EMAIL PROTECTED]> writes: Am Mittwoch, 27. Dezember 2006 02:56 schrieb Euler Taveira de Oliveira: This simple patch lets someone specifies the xlog directory at initdb time. It uses symlinks to do it, and create and/or set per

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-02 Thread Bruce Momjian
Tom Lane wrote: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > Am Mittwoch, 27. Dezember 2006 02:56 schrieb Euler Taveira de Oliveira: > >> This simple patch lets someone specifies the xlog directory at initdb > >> time. It uses symlinks to do it, and create and/or set permissions at > >> the d

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-02 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Am Mittwoch, 27. Dezember 2006 02:56 schrieb Euler Taveira de Oliveira: >> This simple patch lets someone specifies the xlog directory at initdb >> time. It uses symlinks to do it, and create and/or set permissions at >> the directory as appropriate.

Re: [HACKERS] [PATCHES] xlog directory at initdb time

2007-01-02 Thread Peter Eisentraut
Am Mittwoch, 27. Dezember 2006 02:56 schrieb Euler Taveira de Oliveira: > This simple patch lets someone specifies the xlog directory at initdb > time. It uses symlinks to do it, and create and/or set permissions at > the directory as appropriate. We already had this functionality in initdb a few