Re: Re: [GENERAL] +/- Inf for float8's

From: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, pgsql-hackers(at)hub(dot)org
Subject: Re: Re: [GENERAL] +/- Inf for float8's
Date: 2000-08-21 22:59:02
Message-ID: 20000821175902.E17981@rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-08-21 23:12:54 Re: Re: [GENERAL] +/- Inf for float8's
Previous Message Tom Lane 2000-08-21 22:30:31 Re: Optimisation deficiency: currval('seq')-->seq scan, constant-->index scan