Re: WIP XLog Switch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: WIP XLog Switch
Date
Msg-id 200505210316.j4L3GeJ04990@candle.pha.pa.us
Whole thread Raw
In response to WIP XLog Switch  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: WIP XLog Switch
List 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@postgresql.org so that your
>       message can get through to the mailing list cleanly

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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] New wal_sync_method for Darwin?
Next
From: Neil Conway
Date:
Subject: Re: contrib/ gist cleanup