Re: [HACKERS] Dates BC.

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: [HACKERS] Dates BC.
Дата
Msg-id 20040330071914.GA17619@zf.jcu.cz
обсуждение исходный текст
Ответ на Re: [HACKERS] Dates BC.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Mon, Mar 29, 2004 at 03:37:07PM -0500, Bruce Momjian wrote:
> Karel Zak wrote:
> > On Fri, Dec 19, 2003 at 01:12:08AM -0800, Dann Corbit wrote:
> > > There is no zero calendar year.  The first year of Anno Domini is 1.  It's ordinal, not cardinal.
> >
> >  I agree. But  the follow quoted  code is  not use in  date_part() there
> >  Kurt  found bug. It's  used  in to_timestamp()  _only_,  and it  works,
> >  because tm2timestamp() and date2j() work with zero year.
>
> I have also add a doc mention to my patch that mentions that there is no
> 0 AD, and therefore subtraction of BC years from AD years must be done
> with caution.

 The patch seems good for me. Thanks.

    Karel

--
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Dates BC.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql-server/ oc/src/sgml/datatype.sgml