X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DF446476183 for ; Tue, 25 Feb 2003 02:54:06 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 12475-05 for ; Tue, 25 Feb 2003 02:53:38 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id B988E476139 for ; Mon, 24 Feb 2003 23:06:34 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h1P46d5u007496; Mon, 24 Feb 2003 23:06:39 -0500 (EST) To: Robert Treat Cc: Aspire Something , pgsql-admin@postgresql.org, pgsql-bugs@postgresql.org Subject: Re: [BUGS] Date Return must be As per Natural Calander In-reply-to: <1046127599.1015.318.camel@camel> References: <001301c2db58$29f7b5e0$c9c832c0@societykotla> <1046127599.1015.318.camel@camel> Comments: In-reply-to Robert Treat message dated "24 Feb 2003 17:59:59 -0500" Date: Mon, 24 Feb 2003 23:06:38 -0500 Message-ID: <7495.1046145998@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/382 X-Sequence-Number: 7580 Robert Treat writes: > I guess adding 1 day to 1752-09-02 should give us 1752-09-14, but your > right, it gives us 1752-09-03. As was pointed out at length just recently, the transition from Julian to Gregorian calendars happened at different times in different places. So the above claim is only correct for some places. The conclusion from the previous discussion was that our existing behavior (extrapolate Gregorian rules backwards indefinitely) is as defensible as anything else that would be likely to get coded. I suppose you could imagine something that looks at the locale and tries to guess the appropriate transition date ... but I don't foresee anyone getting very excited about coding it. regards, tom lane