Re: Corner case in xlog stuff: what happens exactly at a seg boundary? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Corner case in xlog stuff: what happens exactly at a seg boundary?
Date
Msg-id 14140.1154979983@sss.pgh.pa.us
Whole thread Raw
In response to Re: Corner case in xlog stuff: what happens exactly at a seg boundary?  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> Should we ask users if anyone is currently doing this? It seems pretty
> ugly to have most functions return the last used WAL byte with only
> stop_backup returning the first unused byte.

No, you misunderstood.  All the functions that return WAL location
strings use the same convention.  It's the two new functions that
convert a WAL location string to a filename that have the boundary-case
logic.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Intermittent "make check" failures on hyena
Next
From: Alvaro Herrera
Date:
Subject: Re: CSStorm occurred again by postgreSQL8.2