Re: Empty date - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: Empty date
Date
Msg-id 20050403110622.A568@hermes.hilbert.loc
Whole thread Raw
In response to Re: Empty date  ("Andrus" <noeetasoftspam@online.ee>)
Responses Re: Empty date  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-general
On Thu, Mar 31, 2005 at 09:43:27AM +0300, Andrus wrote:

> Empty data is a date which is less that all other dates.

Why would that be ? "<Empty> of type <unknown>" cannot be less
than (nor more than nor equal to) "<not empty> of type <date>".
If you want to express the valid idea of "<less-than-anything>
of type <date>" you are better off using a logical construct
tailored for that purpose. It may help to use "<4734-01-01 BC> of
type <date>" or some such. However the best would be to use
"-infinity". See the docs.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

pgsql-general by date:

Previous
From: "Sim Zacks"
Date:
Subject: Re: [Fwd: [webmaster] in Search of free hosting with PostgreSQL]
Next
From: Poul Møller Hansen
Date:
Subject: How many clients can one database server handle