Re: WIP: Range Types - Mailing list pgsql-hackers

From Florian Weimer
Subject Re: WIP: Range Types
Date
Msg-id 82fwt8pxat.fsf@mid.bfk.de
Whole thread Raw
In response to WIP: Range Types  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: WIP: Range Types  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
* Jeff Davis:

> 4. For the GiST penalty function, and perhaps some picksplit algorithms,
> it might be nice to know the length of a range, or do some other kinds
> of math. It introduces a lot of complexity to try to define math
> functions for each subtype, and try to make sure they behave sanely. So
> I was thinking that the user might need to specify a function that
> converts the subtype into a float that approximates a value's position
> in the total order.

Doesn't the eqsel hint already provide this information?

--
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: texteq/byteaeq: avoid detoast
Next
From: Noah Misch
Date:
Subject: Re: texteq/byteaeq: avoid detoast