Bruce Momjian <[EMAIL PROTECTED]> writes:
> Should we add an Assert() to make it clear the current code is OK?
A comment maybe, but not an assert.
regards, tom lane
---(end of broadcast)---
TIP 1: subscribe and unsubscribe c
Should we add an Assert() to make it clear the current code is OK?
---
Tom Lane wrote:
> "J.R. Nield" <[EMAIL PROTECTED]> writes:
> > The attached patches against 7.3 and 7.4 fix a subtraction carry bug in
> > xlog.c.
>
> T
"J.R. Nield" <[EMAIL PROTECTED]> writes:
> The attached patches against 7.3 and 7.4 fix a subtraction carry bug in
> xlog.c.
This is simply a waste of cycles, because xrecoff can never be zero
(if it were, it'd be pointing at a page header, which is not a valid
record location). If you look aroun