Re: Collation order for btree-indexable datatypes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Collation order for btree-indexable datatypes
Date: 2001-05-02 23:19:04
Message-ID: 200105022319.f42NJ4m24592@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> A closely related problem is that the "current time" special value
> supported by several of the date/time datatypes is inherently not
> compatible with being indexed, since its sort order relative to
> ordinary time values keeps changing. We had discussed removing this
> special case, and I think agreed to do so, but it hasn't happened yet.
>
> What I'm inclined to do is force consistency of the comparison operators
> now (for 7.1.1) and then remove "current time" for 7.2, but perhaps it'd
> be better to leave the whole can of worms alone until 7.2. Comments
> anyone?

Comparing NaN/Invalid seems so off the beaten path that we would just
wait for 7.2. That and no one has reported a problem with it so far.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Doug McNaught 2001-05-02 23:44:42 Re: XFS File systems and PostgreSQL
Previous Message Alfred Perlstein 2001-05-02 23:06:02 Re: New Linux xfs/reiser file systems