Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XmdZk-0004uN-Md for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Nov 2014 07:03:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XmdZi-0001yq-7m for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Nov 2014 07:03:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XmdZh-0001yj-9M for pgsql-bugs@postgresql.org; Fri, 07 Nov 2014 07:03:13 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XmdZY-0003Ph-TT for pgsql-bugs@postgresql.org; Fri, 07 Nov 2014 07:03:12 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1XmdZR-0008RG-QI; Fri, 07 Nov 2014 02:02:57 -0500 Date: Fri, 7 Nov 2014 02:02:57 -0500 From: Bruce Momjian To: Bruce Hunsaker Cc: Tom Lane , Magnus Hagander , hunsakerbn@familysearch.org, pgsql-bugs Subject: Re: BUG #11883: Year 1500 not treated as leap year when it was a leap year Message-ID: <20141107070257.GA29045@momjian.us> References: <20141105175607.26929.23188@wrigleys.postgresql.org> <20141105180225.GB10345@momjian.us> <15535.1415211201@sss.pgh.pa.us> <20141106073451.GA4253@momjian.us> <20141106142949.GA4487@gr8.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141106142949.GA4487@gr8.dev> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 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