Re: Why overlaps is not working - Mailing list pgsql-general

From Richard Broersma Jr
Subject Re: Why overlaps is not working
Date
Msg-id 766418.47302.qm@web31808.mail.mud.yahoo.com
Whole thread Raw
In response to Re: Why overlaps is not working  ("Andrus" <eetasoft@online.ee>)
Responses Re: Why overlaps is not working  (Jim Nasby <decibel@decibel.org>)
List pgsql-general
> If my database contains dates greater than DATE  '9999-12-31' then this
> check fails.
>
> This is why I'm searching for a real MAX_DATE value in Postgres.
>
> It would be nice if there will be MAX_DATE constant in Postgres or some one
> row system table contains MAX_DATE value.

through expermentation I came up with:

logs=# select '5874897-12-31'::date;
     date
---------------
 5874897-12-31
(1 row)

logs=# select '5874898-12-31'::date;
ERROR:  date out of range: "5874898-12-31"

Regards,

Richard Broersma Jr
l

pgsql-general by date:

Previous
From: Terry Fielder
Date:
Subject: Re: COPY FROM : out of memory
Next
From: Arnaud Lesauvage
Date:
Subject: Re: COPY FROM : out of memory