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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions.
Дата
Msg-id 201002241707.o1OH7N606870@momjian.us
обсуждение исходный текст
Ответ на 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.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions.  (Thom Brown <thombrown@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Revert removal of pre-7.4 documenation behavior mentions.
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Allow zero-dimensional (ie, empty) arrays in contrib/ltree