X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id F161FD1BA53 for ; Wed, 20 Aug 2003 17:24:55 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 88285-06 for ; Wed, 20 Aug 2003 17:24:46 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 8DFB0D1B92D for ; Wed, 20 Aug 2003 17:24:44 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7KKOk5H018234; Wed, 20 Aug 2003 16:24:46 -0400 (EDT) To: Bruno Wolff III Cc: pgsql-docs@postgresql.org Subject: Re: Time input documentation error In-reply-to: <20030820134307.GA6891@wolff.to> References: <20030820134307.GA6891@wolff.to> Comments: In-reply-to Bruno Wolff III message dated "Wed, 20 Aug 2003 08:43:07 -0500" Date: Wed, 20 Aug 2003 16:24:46 -0400 Message-ID: <18233.1061411086@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/61 X-Sequence-Number: 1921 Bruno Wolff III writes: > area=> select '040506'::time; > ERROR: invalid input syntax for time: "040506" Mph. This worked in 7.1, but doesn't in 7.2 or later. Also, we will accept it if it's followed by either fractional seconds or a timezone. regression=# select '040506-04'::time; time ---------- 04:05:06 (1 row) regression=# select '040506.12'::time; time ------------- 04:05:06.12 (1 row) I'm inclined to say this is a code bug not a doc bug. regards, tom lane