Re: Date / Time Data Type - Mailing list pgsql-novice

From Van Ingen, Lane
Subject Re: Date / Time Data Type
Date
Msg-id A3FF4275060B76459B5C08A64AE330C869ED@twmail.esncc.com
Whole thread Raw
In response to Date / Time Data Type  ("Van Ingen, Lane" <lvaningen@ESNCC.com>)
List 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@sss.pgh.pa.us] 
    Sent: Mon 1/31/2005 2:02 PM 
    To: Van Ingen, Lane 
    Cc: pgsql-novice@postgresql.org 
    Subject: Re: [NOVICE] Date / Time Data Type 
    
    

    "Van Ingen, Lane" <lvaningen@ESNCC.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
    


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Date / Time Data Type
Next
From: Terry Lee Tucker
Date:
Subject: Re: How to learn Postgres?