From: Bruce Momjian <bruce@momjian.us>
To: Bruce Hunsaker <hunsakerbn@ldschurch.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: hunsakerbn@familysearch.org
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11883: Year 1500 not treated as leap year when it was a leap year
Date: Fri, 7 Nov 2014 02:02:57 -0500
Message-ID: <20141107070257.GA29045@momjian.us> (raw)
In-Reply-To: <20141106142949.GA4487@gr8.dev>
References: <20141105175607.26929.23188@wrigleys.postgresql.org>
<20141105180225.GB10345@momjian.us>
<CABUevEzP=g=O=Nmg+DMjwCL+74WsnPdTb98vbs6sSbQq_kdASw@mail.gmail.com>
<15535.1415211201@sss.pgh.pa.us>
<20141106073451.GA4253@momjian.us>
<20141106142949.GA4487@gr8.dev>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Thu, Nov 6, 2014 at 07:29:49AM -0700, Bruce Hunsaker wrote:
> > I have applied the attached C comment to document why we use the
> > Gregorian calendar for pre-1582 years.
>
> Thanks everyone for the response. I guess the bottom line for us
> is that if we want to store dates before 1582, we may not want
> to use date or timestamp columns for that data, particularly if
> the dates are from a Julian calendar.
Yeah, the big problem is that there is no way to store leap days for
years like 1500. The only good part is that the Gregorian calendar is
very good at keeping the calendar aligned with the seasons.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, hunsakerbn@ldschurch.org, tgl@sss.pgh.pa.us, magnus@hagander.net, hunsakerbn@familysearch.org
Subject: Re: BUG #11883: Year 1500 not treated as leap year when it was a leap year
In-Reply-To: <20141107070257.GA29045@momjian.us>
References: <20141105175607.26929.23188@wrigleys.postgresql.org> <20141105180225.GB10345@momjian.us> <CABUevEzP=g=O=Nmg+DMjwCL+74WsnPdTb98vbs6sSbQq_kdASw@mail.gmail.com> <15535.1415211201@sss.pgh.pa.us> <20141106073451.GA4253@momjian.us> <20141106142949.GA4487@gr8.dev> <20141107070257.GA29045@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox