Re: WIP XLog Switch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: WIP XLog Switch
Date: 2005-05-21 03:16:40
Message-ID: 200505210316.j4L3GeJ04990@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Any farther on this?

---------------------------------------------------------------------------

Simon Riggs wrote:
>
> WIP patch to perform a switch from one log file to next when we do a
> pg_stop_backup(), including wal replay handling at recovery time.
>
> Patch currently crashes server at various points, so don't stare too
> hard, but patch applies cleanly on cvstip, compiles and make checks.
>
> Main issue is the need to poke the xlog record pointer with a new value
> after the log switch. I'm a little uncertain about that approach and I'm
> very likely getting it wrong now. Better ideas welcome.
>
> Patch is incomplete in that it doesn't handle shutdown checkpoints as
> log switches in archive mode (yet)
>
> Also nothing in here about standby databases (yet)
>
> Any comments appreciated before I spend too much time on this.
>
> Best Regards, Simon Riggs

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-05-21 03:23:06 Re: patches for items from TODO list
Previous Message Josh Berkus 2005-05-21 02:41:44 Re: patches for items from TODO list