Re: [PATCH] Recreate Missing WAL Directories (from TODO) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Recreate Missing WAL Directories (from TODO)
Date
Msg-id 25133.1226252680@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Recreate Missing WAL Directories (from TODO)  (Decibel! <decibel@decibel.org>)
Responses Re: [PATCH] Recreate Missing WAL Directories (from TODO)  (Decibel! <decibel@decibel.org>)
List pgsql-hackers
Decibel! <decibel@decibel.org> writes:
> On Nov 8, 2008, at 3:08 PM, Tom Lane wrote:
>> ... It's reasonably common for pg_xlog to be a symlink.

> ISTM it'd be better still to have an official knob that allows you to  
> determine where pg_xlog lives. ISTR discussion about that, but I  
> don't see anything obvious in postgresql.conf or configure.

My recollection of the discussion is that we decided it was too
dangerous to make it "configurable" --- if you crash and restart and the
restart seizes on some other WAL directory to recover from, you're up
the proverbial creek.

(Come to think of it, this is also a reasonable argument for not letting
postmaster startup auto-create pg_xlog ...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: auto_explain contrib moudle
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Block-level CRC checks