Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions. - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions.
Date
Msg-id 201002241707.o1OH7N606870@momjian.us
Whole thread Raw
In response to Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions.  (Thom Brown <thombrown@gmail.com>)
List pgsql-committers
Tom Lane wrote:
> Thom Brown <thombrown@gmail.com> writes:
> > On 24 February 2010 15:54, Bruce Momjian <momjian@postgresql.org> wrote:
> > +      Prior to <productname>PostgreSQL</productname> 7.3, writing just
> > +      <type>timestamp</type> was equivalent to <type>timestamp with
> > +      time zone</type>.  This was changed for SQL compliance.
>
> > You may wish to say what exactly it was changed to.
>
> The previous para says that.

Uh, well, the chart says it via syntax, which isn't exactly the same as
stating it, and this is particularly important because it is an odd
default.

I have created an updated paragraph for that section:

    http://momjian.us/tmp/pgsql/datatype-datetime.html

    Note:  The SQL standard requires that writing just timestamp  be
    equivalent to timestamp without time zone, and PostgreSQL honors that
    behavior. (Releases prior to 7.3 treated it as timestamp with time
    zone).

Is that an improvement?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com
  PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do
  + If your life is a hard drive, Christ can be your backup. +

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Allow zero-dimensional (ie, empty) arrays in contrib/ltree