Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] xlog directory at initdb time

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Subject: Re: [PATCHES] xlog directory at initdb time
Date: 2007-01-02 15:18:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
Peter Eisentraut <peter_e(at)gmx(dot)net> 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.

> We already had this functionality in initdb a few versions ago.  Did you 
> review why it was removed?

The discussion thread seems to start here:

As best I can tell the objections came from the fact that Thomas had
implemented it as a postmaster-start-time switch, which made it a
foot-gun because you could mistakenly start the postmaster with a
different XLOG than you were using before.  That would not apply to a
symlink-made-by-initdb approach.  All this is doing is formalizing
something we already suggest people do by hand...

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2007-01-02 15:19:38
Subject: Re: effective_cache_size vs units
Previous:From: Heikki LinnakangasDate: 2007-01-02 15:12:18
Subject: Re: Reverse-sort indexes and NULLS FIRST/LAST sorting

pgsql-patches by date

Next:From: Heikki LinnakangasDate: 2007-01-02 16:15:13
Subject: Re: Index split WAL reduction
Previous:From: Peter EisentrautDate: 2007-01-02 10:43:53
Subject: Re: [PATCHES] xlog directory at initdb time

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group