From: | "Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Date / Time Data Type |
Date: | 2005-01-31 19:12:44 |
Message-ID: | A3FF4275060B76459B5C08A64AE330C869ED@twmail.esncc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
OK, will do that. Was trying to avoid program changes, but can't make it work any other way.
A MySQL-ism. Thanks for your help.
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Mon 1/31/2005 2:02 PM
To: Van Ingen, Lane
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] Date / Time Data Type
"Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com> writes:
> updatedTime timestamp NOT NULL default '0000-00-00 00:00:00', <------ rejected
Instead of using a blatantly invalid timestamp value to mean "no data",
why don't you use NULL?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | operationsengineer1 | 2005-01-31 19:13:58 | Last ID Problem |
Previous Message | Terry Lee Tucker | 2005-01-31 19:09:38 | Re: How to learn Postgres? |