Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNJll-0000Zv-TD for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Sep 2020 17:50:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kNJlk-0008Kn-RL for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Sep 2020 17:50:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNJlk-0008K0-KQ for pgsql-hackers@lists.postgresql.org; Tue, 29 Sep 2020 17:50:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNJli-0001OR-Jp for pgsql-hackers@lists.postgresql.org; Tue, 29 Sep 2020 17:50:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 08THo7Ef686733; Tue, 29 Sep 2020 13:50:07 -0400 From: Tom Lane To: Peter Eisentraut cc: "David G. Johnston" , Bruce Momjian , Laurenz Albe , PostgreSQL Hackers Subject: Re: BUG #16419: wrong parsing BC year in to_date() function In-reply-to: <13c0992c-f15a-a0ca-d839-91d3efd965d9@2ndquadrant.com> References: <16419-d8d9db0a7553f01b@postgresql.org> <0123b852ae3fe53eca11b9451d035411b06dafd5.camel@cybertec.at> <20200904012149.GA13932@momjian.us> <13c0992c-f15a-a0ca-d839-91d3efd965d9@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Fri, 04 Sep 2020 23:05:28 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <686731.1601401807.1@sss.pgh.pa.us> Date: Tue, 29 Sep 2020 13:50:07 -0400 Message-ID: <686732.1601401807@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > Adding support for negative years in make_timestamp seems pretty > straightforward; see attached patch. In hopes of moving things along, I pushed that, along with documentation additions. I couldn't quite convince myself that it was a bug fix though, so no back-patch. (I don't think we really need any doc changes about it in the back branches, either.) regards, tom lane