Re: Re: BETWEEN [SYMMETRIC | ASYMMETRIC]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Swan <tswan-lst(at)ics(dot)olemiss(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: BETWEEN [SYMMETRIC | ASYMMETRIC]
Date: 2001-01-11 03:10:58
Message-ID: 10223.979182658@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Swan <tswan-lst(at)ics(dot)olemiss(dot)edu> writes:
> Actually if it were possible to look at the values before expanding. You
> could reorder the expression so that it was always the case that B < C,
> then your cost would only be one comparison plus the sequential scan.

Uh ... what if B and C are not constants?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-01-11 03:15:59 Re: AW: AW: Re: tinterval - operator problems on AIX
Previous Message Tom Lane 2001-01-11 02:49:14 Re: GiST for 7.1 !!