Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ian7I-0003Xa-BD for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Nov 2019 20:43:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ian7G-0004pW-IA for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Nov 2019 20:43:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ian7G-0004pP-6q for pgsql-bugs@lists.postgresql.org; Fri, 29 Nov 2019 20:43:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ian7D-0006II-VH for pgsql-bugs@lists.postgresql.org; Fri, 29 Nov 2019 20:43:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xATKhimD008273; Fri, 29 Nov 2019 15:43:44 -0500 From: Tom Lane To: Tomas Vondra cc: paul@intekon.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16143: PGTYPEStimestamp_fmt_asc() returns the incorrect month when the format specifier %b is used. In-reply-to: <20191129203832.xybuswyoa455mwy2@development> References: <16143-0d861eb8688d3fef@postgresql.org> <20191129203832.xybuswyoa455mwy2@development> Comments: In-reply-to Tomas Vondra message dated "Fri, 29 Nov 2019 21:38:32 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8271.1575060224.1@sss.pgh.pa.us> Date: Fri, 29 Nov 2019 15:43:44 -0500 Message-ID: <8272.1575060224@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tomas Vondra writes: > The attached patch should fix this, I believe - both for %b and %B. Yeah, I'd just come to the same conclusion. You're welcome to do the commits, of course. regards, tom lane