Re: date_trunc problem in HEAD

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: date_trunc problem in HEAD
Дата
Msg-id 20050313184002.GA7034@roeckx.be
обсуждение исходный текст
Ответ на date_trunc problem in HEAD  (Robert Creager <Robert_Creager@LogicalChaos.org>)
Ответы Re: date_trunc problem in HEAD
Re: date_trunc problem in HEAD
Список pgsql-hackers
On Sun, Mar 13, 2005 at 11:12:32AM -0700, Robert Creager wrote:
> 
> Hey All,
> 
> I goofed with the patch I submitted last year for adding 'week' capability to
> the date_trunc function.
> 
> Attached is a patch against HEAD for your review.

It has this comment in it:                              /* the new year cannot be greater than the
        * original year, so we subtract one if it is
 

Can you please explain that?

The "iso" year can be both greater and smaller than the current
year.


Kurt



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

Предыдущее
От: Robert Creager
Дата:
Сообщение: date_trunc problem in HEAD
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TODO item: support triggers on columns