Re: A creepy story about dates. How to prevent it?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: A creepy story about dates. How to prevent it?
Дата
Msg-id 20030619103537.GB10782@wolff.to
обсуждение исходный текст
Ответ на Re: A creepy story about dates. How to prevent it?  (Ron Johnson <ron.l.johnson@cox.net>)
Ответы Re: A creepy story about dates. How to prevent it?  (Ron Johnson <ron.l.johnson@cox.net>)
Re: A creepy story about dates. How to prevent it?  (Frank Miles <fpm@u.washington.edu>)
Re: A creepy story about dates. How to prevent it?  (Dennis Gearon <gearond@cvc.net>)
Список pgsql-general
On Thu, Jun 19, 2003 at 02:43:12 -0500,
  Ron Johnson <ron.l.johnson@cox.net> wrote:
>
> OTOH, Andrew Snow's method (alway use ANSI standard YYYY-MM-DD)
> is guaranteed to work.  Have your app convert to that format before
> inserting, and then PostgreSQL is guaranteed to puke if there's
> a problem.

No it isn't. In 7.4:
area=> select '2003-20-02'::date;
    date
------------
 2003-02-20
(1 row)

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

Предыдущее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Incremental backups, and backup history
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: explicit joins vs implicit joins