Re: [BUGS] BUG #1563: wrong week returnded by date_trunc('week',

Поиск
Список
Период
Сортировка
От Dirk Raetzel
Тема Re: [BUGS] BUG #1563: wrong week returnded by date_trunc('week',
Дата
Msg-id Pine.CYG.4.58.0503290741350.2132@plinio
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #1563: wrong week returnded by date_trunc('week',  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches

On Mon, 28 Mar 2005, Bruce Momjian wrote:

> I have developed a patch to fix the problem.  Instead of changing the
> API, I added code to decrement the year when the week number was 53 and
> the month was January.  It corrected the problem:

The problem arises as well when week number is 52 as in '2006-01-01'.

Dirk


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

Предыдущее
От: Manuel Baena García
Дата:
Сообщение: Re: contrib dbf2sql.pl
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Have psql \dD show checks