Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMjoz-0005ij-7a for pgsql-docs@arkaria.postgresql.org; Thu, 29 Dec 2016 23:09:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cMjoy-0002Ar-Qg for pgsql-docs@arkaria.postgresql.org; Thu, 29 Dec 2016 23:09:16 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cMjoc-0001lo-Jy for pgsql-docs@postgresql.org; Thu, 29 Dec 2016 23:08:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cMjoZ-0006Ei-K7 for pgsql-docs@postgresql.org; Thu, 29 Dec 2016 23:08:53 +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 uBTN8ocA028918; Thu, 29 Dec 2016 18:08:50 -0500 From: Tom Lane To: michaelrush@gmail.com cc: pgsql-docs@postgresql.org Subject: Re: Error in to_timestamp() example In-reply-to: <20161229170043.10139.21416@wrigleys.postgresql.org> References: <20161229170043.10139.21416@wrigleys.postgresql.org> Comments: In-reply-to michaelrush@gmail.com message dated "Thu, 29 Dec 2016 17:00:43 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28916.1483052930.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 29 Dec 2016 18:08:50 -0500 Message-ID: <28917.1483052930@sss.pgh.pa.us> X-Pg-Spam-Score: -5.1 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org michaelrush@gmail.com writes: > In this example: > > Here is a more complex example: to_timestamp('15:12:02.020.00123= 0', > 'HH:MI:SS.MS.US') is 15 hours, 12 minutes, and 2 seconds + 20 mil= liseconds + > 1230 microseconds =3D 2.021230 seconds. > HH needs to be HH24 You're right, thanks for reporting it. regards, tom lane --=20 Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs