On Sun, Apr 03, 2005 at 15:46:18 +0200,
  Karsten Hilbert <[EMAIL PROTECTED]> wrote:
> > > type <date>" or some such. However the best would be to use
> > > "-infinity".
> > 
> > +/- infinity are only available as timestamps, not dates.
> Hm, any particular reason why ? Apart from no one having
> gotten around to doing it...

I think that is it. I seem to remember a discussion of that about 2 or 3
years ago, but nothing came of it.

> Strange enough, on 7.4.6 I am unsure as to how to interpret
> the output of:
> 
> select ('2000-10-10'::date < 'infinity'::timestamp::date);
> 
>  ?column? 
> ----------
>  
> (1 row)
> 
> Further testing shows it seems to be of type boolean. Is it
> NULL ? Coalesce did not help.

area=> select 'infinity'::timestamp::date is null;
 ?column?
----------
 t
(1 row)


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to