Re: Top five challenges

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Top five challenges
Дата
Msg-id 201103101601.p2AG1vW14016@momjian.us
обсуждение исходный текст
Ответ на Re: Top five challenges  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Top five challenges  (silly sad <sad@bestmx.ru>)
Список pgsql-advocacy
Alvaro Herrera wrote:
> Excerpts from sad's message of mié mar 02 10:23:53 -0300 2011:
> > On Mar 2 2011, Josh Berkus wrote:
>
> > >> 3. To make TIMESTAMPTZ useful by introducing proper type cast
> > >> TIMESTAMPTZ to TIMESTAMP
> > >
> > >Why are you using Timestamp-no-tz at all?  I was thinking we should
> > >change the default ...
> >
> > Why did u introduced it?
>
> The standard requires the current behavior.  It's not going to change.
> It changed in 7.1 or so.

And we document why the default is so odd:

    http://www.postgresql.org/docs/9.0/static/datatype-datetime.html#DATATYPE-TIMEZONES

    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.)

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

В списке pgsql-advocacy по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Top five challenges
Следующее
От: silly sad
Дата:
Сообщение: Re: Top five challenges