pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jose' Soares Da Silva <sferac@bo.nettuno.it>
To: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
Cc: Tom Ivar Helbekkmo <tih+mail@hamartun.priv.no>
Cc: Postgres Hackers List <hackers@postgresql.org>
Subject: Re: [INTERFACES] Access'97 and ODBC
Date: Thu, 30 Apr 1998 16:13:00 +0000 (UTC)
Message-ID: <Pine.LNX.3.96.980430155515.680A-100000@proxy.bazzanese.com> (raw)
In-Reply-To: <354877C1.3203C5F3@alumni.caltech.edu>

On Thu, 30 Apr 1998, Thomas G. Lockhart wrote:

	
> > > > I vote for changing default date format to ISO-8601 to reflect
> > > Hear!  Hear!  Good standards beat silly conventions any day!
> > Seems that you don't like conventions Tom, but you want
> > that all world use dates with American format.
> > Seems that you want impose one convention.
> > We're working with a database which name is PostgreSQL.
> > I suppose that you know what's mean the last 3 letters.
> 
> Uh, Jose', he was agreeing with you :))

I'm sorry Tom Ivar, my mistake (guilt of my poor english)

> 
> Anyway, imo the only issue is _when_ this kind of change should take
> place. My comment in the documentation did not promise that it would
> change in the next release,

Yes I know...

> only that it might change in a future
> release. btw, I don't think that the ISO date style is mandated by the
> SQL92 standard, but it does seem like a good idea, particularly as we
> approach y2k...

I think so, Tom. Here the syntax from...

(Second Informal Review Draft) ISO/IEC 9075:1992, Database
              Language SQL- July 30, 1992

5.3 <literal>
    <date literal> ::=
        DATE <date string>

    <date string> ::=
        <quote> <date value> <quote>

    <date value> ::=
        <years value> <minus sign> <months value> <minus sign> <days value>

example date syntax:    DATE '0001-01-01'
	                DATE '9999-12-31'

Ok, I know that keyword DATE before value is a silly and an useless
thing but YYYY-MM-DD format it's an intelligent thing.

> Of course, since we now have the PGDATESTYLE environment variable,
> usable by both the backend (at startup) and libpq (at connect time),
> perhaps a change in default date format is not something to worry about
> too much.
> 
> I haven't heard any negative comments (yet) about changing the default
> date format to ISO-8601 (yyyy-mm-dd). Does anyone have a strong feeling
> that this should _not_ happen for v6.4??
> 
> Speak up or it might happen ;)

Go for it Tom!                                              Jose'




view thread (20+ messages)  latest in thread

Message-ID: <Pine.LNX.3.96.980430155515.680A-100000@proxy.bazzanese.com>
Permalink:  ../Pine.LNX.3.96.980430155515.680A-100000@proxy.bazzanese.com/
Also on:    postgresql.org/message-id/Pine.LNX.3.96.980430155515.680A-100000@proxy.bazzanese.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: sferac@bo.nettuno.it, lockhart@alumni.caltech.edu, tih+mail@hamartun.priv.no, hackers@postgresql.org
  Subject: Re: [INTERFACES] Access'97 and ODBC
  In-Reply-To: <Pine.LNX.3.96.980430155515.680A-100000@proxy.bazzanese.com>
  References: <354877C1.3203C5F3@alumni.caltech.edu> <Pine.LNX.3.96.980430155515.680A-100000@proxy.bazzanese.com>

* 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