Bug: century/millenium still broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Bug: century/millenium still broken
Дата
Msg-id 21893.1092095887@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Bug: century/millenium still broken  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-bugs
After all that about numbering centuries and millenia correctly,
why does CVS tip still give me

regression=# select extract(century from now());
 date_part
-----------
        20
(1 row)


[ ... looks in code ... ]

Apparently it's because you fixed only timestamp_part, and not
timestamptz_part.  I'm not too sure about what timestamp_trunc or
timestamptz_trunc should do, but they may be wrong as well.

Could we have a more complete patch?

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 8.0: Absolute path required for INITDB?
Следующее
От: Mike G
Дата:
Сообщение: beta - win32, restore from pg_dump not possible