From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: chairudin@prima.net.id
Cc: JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>
Cc: 'pgsql-admin@hub.org' <pgsql-admin@hub.org>
Cc: 'pgsql-interfaces@hub.org' <pgsql-interfaces@hub.org>
Subject: Re: [INTERFACES] where did that date and time come from??
Date: Fri, 23 Apr 1999 05:21:33 +0000
Message-ID: <3720035D.1D8925BF@alumni.caltech.edu> (raw)
References: <01BE8A7D.00789480.jt-kirkpatrick@mpsllc.com>
<371C91C5.2A7E4B4B@alumni.caltech.edu>
<372039A8.51FDEA58@prima.net.id>
> How about this?
> added datetime default datetime(now()) not null,
Yes, this apparently works by converting from timestamp to datetime.
In general datetime has better dynamic range than does timestamp, but
for calculating 'now' both are equivalent in performance.
- Tom
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: lockhart@alumni.caltech.edu, chairudin@prima.net.id, jt-kirkpatrick@mpsllc.com, pgsql-admin@hub.org, pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] where did that date and time come from??
In-Reply-To: <3720035D.1D8925BF@alumni.caltech.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox