Skip site navigation (1) Skip section navigation (2)

WAL file rotation/ XLog Switch

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: WAL file rotation/ XLog Switch
Date: 2006-07-27 13:08:52
Message-ID: 1154005732.2592.800.camel@holly (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Include here a prototype patch that implements pg_switch_xlog() in line
with earlier discussions about how this should be implemented.

This patch implements
- separate function for manual xlog switch
- internals to allow pg_stop_backup() to perform auto log switching

Patch applies cleanly to cvstip, passes make check and also switches
xlogs cleanly. I've not tested recovery yet, though will do so shortly
--- yes, of course that is critical, before you say so.

I'm shipping this very early to allow discussion, rather than test it
fully and leave people wondering what it looks like.

A production version will be ready prior to 8.2 code freeze.

  Simon Riggs             

Attachment: xlogswitch_beta.patch
Description: text/x-patch (14.8 KB)

pgsql-patches by date

Next:From: Bruce MomjianDate: 2006-07-27 13:11:48
Subject: Re: extension for sql update
Previous:From: Albe LaurenzDate: 2006-07-27 12:57:39
Subject: Re: LDAP lookup of connection parameters

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group