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

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

"Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
> On Sat, Nov 8, 2008 at 4:08 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> This has been suggested before but I'm unconvinced that it's a good
>> idea. It's reasonably common for pg_xlog to be a symlink. If you
>> neglect to re-establish the symlink then what would happen is that xlog
>> gets recreated on the data disk, and with no notice you are running in
>> a degraded mode.

> Agreed on the basis that people sometimes forget to symlink. That's
> the reason why I was echoing a message. Initially the message was
> WARNING, but I degraded it to LOG.

Applied with minor stylistic tweaks and documentation update.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2008-11-09 18:56:10 Re: Windowing Function Patch Review -> Performance Comparison.
Previous Message Martijn van Oosterhout 2008-11-09 17:47:02 Re: Block-level CRC checks