Re: [PATCH] Recreate Missing WAL Directories (from TODO)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Decibel! <decibel(at)decibel(dot)org>
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Pg Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Recreate Missing WAL Directories (from TODO)
Date: 2008-11-09 17:44:40
Message-ID: 25133.1226252680@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Decibel! <decibel(at)decibel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-11-09 17:47:02 Re: Block-level CRC checks
Previous Message Jeff Davis 2008-11-09 17:37:36 Re: auto_explain contrib moudle