Re: [HACKERS] Forcing current WAL file to be archived - Mailing list pgsql-patches

From Simon Riggs
Subject Re: [HACKERS] Forcing current WAL file to be archived
Date
Msg-id 1155742878.2649.303.camel@holly
Whole thread Raw
In response to Re: [HACKERS] Forcing current WAL file to be archived  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Wed, 2006-08-16 at 08:51 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > On Tue, 2006-08-15 at 18:42 -0400, Tom Lane wrote:
> >> So let's fix pg_xlogfile_name_offset() to have two OUT parameters
> >> instead of returning a smushed-together string.
>
> > I'll do this, but I'm conscious that this is a cosmetic change.
>
> Well, it's cosmetic, but it's also an API change, which means that this
> is our only opportunity to get it right.  Once these functions are in a
> release it will be too hard to change them.

I've just started working this part, now I have the rest complete.

We want a single row output, with two columns, yes?
Presumably:
    xlogfilename    TEXT
    offset        INTEGER

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


pgsql-patches by date:

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