Re: Miscalculation in IsCheckpointOnSchedule() - Mailing list pgsql-patches

From Tom Lane
Subject Re: Miscalculation in IsCheckpointOnSchedule()
Date
Msg-id 15711.1195074933@sss.pgh.pa.us
Whole thread Raw
In response to Re: Miscalculation in IsCheckpointOnSchedule()  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-patches
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Surely this makes matters worse, not better.  What happens near a segment
>> boundary crossing?

> Here is the dumped progres information by the attached patch
> (only for debug purpose).

Oh, I take that back.  I was thinking that conversion of unsigned to
double usually does the Wrong Thing, but in this context it seems to be
the right thing.

            regards, tom lane

pgsql-patches by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: Fix pg_dump dependency on postgres.h
Next
From: "Henry B. Hotz"
Date:
Subject: Re: krb_match_realm