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