Re: Null Value Stored for Date e TimeStamp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fernando Ferreira <lfernando(at)pop(dot)com(dot)br>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Null Value Stored for Date e TimeStamp
Date: 2005-03-14 05:57:26
Message-ID: 5299.1110779846@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fernando Ferreira <lfernando(at)pop(dot)com(dot)br> writes:
> I would like know about the value stored for null value for fields date
> and timestamp.

There isn't any; we don't store anything at all for a null.

I don't think those other DBs you mention equate a null to some
particular randomly chosen date, either. You might be dealing with
some broken application software that uses such a thing as a way to
avoid dealing with true nulls ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2005-03-14 06:12:53 Re: [BUGS] We are not following the spec for HAVING without GROUP
Previous Message Greg Stark 2005-03-14 05:35:32 Re: [BUGS] We are not following the spec for HAVING without GROUP