Re: WIP: RangeTypes
От | David Fetter |
---|---|
Тема | Re: WIP: RangeTypes |
Дата | |
Msg-id | 20110117212331.GE18561@fetter.org обсуждение исходный текст |
Ответ на | Re: WIP: RangeTypes (Jeff Davis <pgsql@j-davis.com>) |
Список | pgsql-hackers |
On Mon, Jan 17, 2011 at 01:09:26PM -0800, Jeff Davis wrote: > When defining generic range functions, there is quite a bit of extra > complexity needed to handle special cases. > > The special cases are due to: > * empty ranges > * ranges with infinite boundaries > * ranges with NULL boundaries > * ranges with exclusive bounds (e.g. "(" or ")"). > > Infinite bounds, and exclusive bounds can both be handled somewhat > reasonably, and the complexity can be somewhat hidden. Empty ranges > are a special case, but can be handled at the top of the generic > function in a straightforward way. > > NULL bounds, however, have been causing me a little frustration. > [Explanation and illustrations]. In that case, let's leave them out for this cut. Cheers, David. -- David Fetter <david@fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate
В списке pgsql-hackers по дате отправления: