pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Magne Mæhre <Magne.Mahre@Sun.COM>
Cc: pgsql-sql@postgresql.org
Subject: Re: Is DATETIME an ANSI-SQL type?
Date: Tue, 15 Jan 2008 20:42:31 +0100
Message-ID: <1200426151.19198.1.camel@localhost> (raw)
In-Reply-To: <24168.1200412412@sss.pgh.pa.us>
References: <1200403108.27286.63.camel@panoramix.askesis.nl>
	<478CB8FB.5040600@sun.com>
	<24168.1200412412@sss.pgh.pa.us>

Hi,

On Tue, 2008-01-15 at 10:53 -0500, Tom Lane wrote:
> =?ISO-8859-1?Q?Magne_M=E6hre?= <Magne.Mahre@Sun.COM> writes:
> > Joost Kraaijeveld wrote:
> >> Can anyone tell me if DATETIME is an ANSI SQL type? 
> 
> > No.
> > The Datetime types defined in SQL (ISO/IEC 9075:2003) are
> 
> > DATE
> > TIME WITHOUT TIME ZONE
> > TIME WITH TIME ZONE
> > TIMESTAMP WITHOUT TIME ZONE
> > TIMESTAMP WITH TIME ZONE
> 
> If you need to port from a system that used DATETIME as a type name,
> consider defining DATETIME as a domain over whichever of the standard
> types seems to have the closest semantics (likely the last of these).
Thanks for the confirmation and tips.

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl





view thread (4+ messages)

Message-ID: <1200426151.19198.1.camel@localhost>
Permalink:  ../1200426151.19198.1.camel@localhost/
Also on:    postgresql.org/message-id/1200426151.19198.1.camel@localhost

 · 

reply

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-sql@postgresql.org
  Cc: J.Kraaijeveld@Askesis.nl, tgl@sss.pgh.pa.us, Magne.Mahre@Sun.COM
  Subject: Re: Is DATETIME an ANSI-SQL type?
  In-Reply-To: <1200426151.19198.1.camel@localhost>

* 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