| From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Hannu Krosing <hannu(at)skype(dot)net>, pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: WIP archive_timeout patch |
| Date: | 2006-08-16 22:10:18 |
| Message-ID: | 1155766218.2649.444.camel@holly |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers 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(at)2ndquadrant(dot)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 | Content-Type | Size |
|---|---|---|
| archive_timeout++.patch | text/x-patch | 24.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Stark | 2006-08-16 22:13:23 | Re: CREATE INDEX ... ONLINE |
| Previous Message | Simon Riggs | 2006-08-16 22:07:41 | Re: [HACKERS] Forcing current WAL file to be archived |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Stark | 2006-08-16 22:13:23 | Re: CREATE INDEX ... ONLINE |
| Previous Message | Simon Riggs | 2006-08-16 22:07:41 | Re: [HACKERS] Forcing current WAL file to be archived |