Re: NOT NULL Issue

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: NOT NULL Issue
Date: 2007-09-19 16:24:57
Message-ID: C316A979.80772%scott_ribe@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Another way is to remember that NULL is a distinguished thing that is
absence of a value, not any value of any type, and this applies to all
types:

- the integer 0 is a value, not null
- the date 1/1/1900 (or 1904 or 0000) is a value, not null
- the time 00:00:00 is a value, not null
- and the string '' is a value, not null

--
Scott Ribe
scott_ribe(at)killerbytes(dot)com
http://www.killerbytes.com/
(303) 722-0567 voice

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Teodor Sigaev 2007-09-19 16:30:42 Re: Tsearch2 - spanish
Previous Message Richard Broersma Jr 2007-09-19 16:00:02 Re: For index bloat: VACUUM ANALYZE vs REINDEX/CLUSTER