Re: when started century? PostgreSQL vs Oracle diff

From: Adrian Maier <adrian(dot)maier(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: when started century? PostgreSQL vs Oracle diff
Date: 2005-09-16 12:25:21
Message-ID: 432AB9B1.80706@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule wrote:
> Hello
>
> I am testing comformity between PostgreSQL and Oracle. I found one
> difference. Century started 1900-01-01 for Oracle and 1901-01-01 for
> PostgreSQL. What value is good?

Hello,

I think that 1901 is the correct year.

( The first century started in year 1 and ended in year 100.
There was no year 0 ...

Also, the 2nd millenium started in 2001, not in 2000 :
http://staff-www.uni-marburg.de/~schittek/millenni.htm )

Best wishes,
Adrian Maier

> Best regards
> Pavel Stehule
>
> _________________________________________________________________
> Chcete sdilet sve obrazky a hudbu s prateli? http://messenger.msn.cz/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-09-16 13:21:04 Re: 8.1 win32 beta?
Previous Message Oliver Jowett 2005-09-16 11:55:56 Re: statement logging / extended query protocol issues