Re: [INTERFACES] where did that date and time come from??

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: chairudin(at)prima(dot)net(dot)id
Cc: JT Kirkpatrick <jt-kirkpatrick(at)mpsllc(dot)com>, "'pgsql-admin(at)hub(dot)org'" <pgsql-admin(at)hub(dot)org>, "'pgsql-interfaces(at)hub(dot)org'" <pgsql-interfaces(at)hub(dot)org>
Subject: Re: [INTERFACES] where did that date and time come from??
Date: 1999-04-23 05:21:33
Message-ID: 3720035D.1D8925BF@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces pgsql-sql

> 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(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dustin sallings 1999-04-23 06:17:45 Re: [GENERAL] 9k limit?
Previous Message Simon Drabble 1999-04-23 01:06:02 Re: [GENERAL] 9k limit?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Shad Cool 1999-04-23 06:28:31 libpq++
Previous Message Michael Meskes 1999-04-23 04:16:06 Re: [INTERFACES] ecpg cursors and scope

Browse pgsql-sql by date

  From Date Subject
Next Message Chairudin Sentosa 1999-04-23 08:30:05 Re: [SQL] Finding the "most recent" rows
Previous Message Chris Bitmead 1999-04-23 04:39:33 Re: [SQL] Finding the "most recent" rows