Re: Re: [GENERAL] +/- Inf for float8's - Mailing list pgsql-hackers

From Ross J. Reedstrom
Subject Re: Re: [GENERAL] +/- Inf for float8's
Date
Msg-id 20000821175902.E17981@rice.edu
Whole thread Raw
In response to Re: Re: [GENERAL] +/- Inf for float8's  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
List pgsql-hackers
On Mon, Aug 21, 2000 at 05:30:21PM -0500, Ross J. Reedstrom wrote:
> 
> Hmm, I another thought: all the comparator code assumes (a<b || a>b || a==c)
> and therefor only test 2 of the three conditions, falling through to the 
> third. In the three places I just looked, two fall thorough to the equal case,
> and one to the 'less than' case. If all three fell through to the 'greater than'
> case, it might work with no tweaking at all. I'll have to try that, first.

Looking again, I realize that the sort comparetup_* code doesn't have
access to a operator to test for equality, so can't do this. Sigh. Time
to go home, I think.

Ross
-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Optimisation deficiency: currval('seq')-->seq scan, constant-->index scan
Next
From: Tom Lane
Date:
Subject: Re: Re: [GENERAL] +/- Inf for float8's