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 1iDWgK-0000Md-0N for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Sep 2019 16:31: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 1iDWgI-0001Wq-Qj for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Sep 2019 16:31: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 1iDWgI-0001Wj-Gm for pgsql-bugs@lists.postgresql.org; Thu, 26 Sep 2019 16:31: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 1iDWgG-0003KO-9c for pgsql-bugs@lists.postgresql.org; Thu, 26 Sep 2019 16:31: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 x8QGVh21017812; Thu, 26 Sep 2019 12:31:43 -0400 From: Tom Lane To: Jeffrey Sturm cc: "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #16027: Invalid output of to_timestamp In-reply-to: References: <16027-8b799f2d11947553@postgresql.org> <13930.1569512357@sss.pgh.pa.us> Comments: In-reply-to Jeffrey Sturm message dated "Thu, 26 Sep 2019 16:03:42 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17810.1569515503.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 26 Sep 2019 12:31:43 -0400 Message-ID: <17811.1569515503@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jeffrey Sturm writes: > The problem actually manifests within the JDBC driver: > org.postgresql.util.PSQLException: Bad value for type timestamp/date/tim= e: {1} > If what you are saying is that -05:32:11 is a perfectly valid offset fro= m UTC, then this is a JDBC driver issue rather than pgsql, and if this is = not the right bug list for JDBC reports I can take it there. Well, it's a valid offset so far as Postgres is concerned. Some poking around suggests that relevant standards such as ISO 8601 only admit UTC offsets specified to the nearest minute --- but tzdb has some entries specified to seconds, so that's what we follow. regards, tom lane