Re: WIP archive_timeout patch - Mailing list pgsql-patches

From Simon Riggs
Subject Re: WIP archive_timeout patch
Date
Msg-id 1155766218.2649.444.camel@holly
Whole thread Raw
In response to WIP archive_timeout patch  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-patches
On Wed, 2006-08-16 at 10:09 +0100, Simon Riggs wrote:
> On Thu, 2006-08-03 at 19:03 +0100, Simon Riggs wrote:
> > On Thu, 2006-08-03 at 13:38 -0400, Tom Lane wrote:
> > > Simon Riggs <simon@2ndquadrant.com> writes:
> > > > WIP archive_timeout.
> > > > All we need to do is add LWLock support to archiver.
> > > > Thoughts/ideas/hints welcome.
> > >
> > > Hint: this isn't the archiver's problem, and so you don't need to get
> > > the archiver involved in the solution.  I'd suggest bgwriter as a
> > > reasonably appropriate place instead.
>
> Revised patch enclosed, now believed to be production ready. This
> implements regular log switching using the archive_timeout GUC.

Further patch enclosed implementing these changes plus the record type
version of pg_xlogfile_name_offset()

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com

Attachment

pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Forcing current WAL file to be archived
Next
From: Greg Stark
Date:
Subject: Re: CREATE INDEX ... ONLINE