Re: Re: [GENERAL] +/- Inf for float8's
Ross Reedstrom <reedstrm@rice.edu>
From: "Ross J. Reedstrom" <reedstrm@rice.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter_e@gmx.net>, Thomas Lockhart <lockhart@alumni.caltech.edu>, pgsql-hackers@hub.org
Date: 2000-08-21T22:59:02Z
Lists: 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