Re: "July" missing from datetime.c

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: "July" missing from datetime.c
Дата
Msg-id 3C2042B9.E7811888@fourpalms.org
обсуждение исходный текст
Ответ на "July" missing from datetime.c  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-patches
> template1=# insert into foobar values('11:23 Sunday, July 1, 2001 EDT');
> ERROR:  Bad timestamp external representation '11:23 Friday, July 7, 2000 EDT'
> (Just one line added, so I've inlined the patch)
>         {"jul", MONTH, 7},
> +       {"july", MONTH, 7},
>         {"julian", UNITS, JULIAN},

Got it, thanks. I'll commit a fix in the next day or so. Note that this
table *must* be strictly ordered to allow the optimized table lookup to
work. So, you should place "july" after "julian", not before.

                  - Thomas

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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: "July" missing from datetime.c
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Patch to fix float8 test on FreeBSD/alpha