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 F3040D1B994 for ; Fri, 5 Sep 2003 02:45:57 +0000 (GMT) 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 78189-05 for ; Thu, 4 Sep 2003 23:45:51 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 48535D1B8CB for ; Thu, 4 Sep 2003 23:45:46 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h852jfT20197; Thu, 4 Sep 2003 22:45:41 -0400 (EDT) From: Bruce Momjian Message-Id: <200309050245.h852jfT20197@candle.pha.pa.us> Subject: Re: Time input documentation error In-Reply-To: <20030820134307.GA6891@wolff.to> To: Bruno Wolff III Date: Thu, 4 Sep 2003 22:45:41 -0400 (EDT) Cc: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL106 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/21 X-Sequence-Number: 1977 Bruno Wolff III wrote: > In table 8.11 in the 7.4 docs the following line: > 040506 ISO 8601 > suggests that '040506' is a valid input format for time. But in fact > it isn't accepted by either 7.3 or 7.4. > > For example: > area=> select '040506'::time; > ERROR: invalid input syntax for time: "040506" > > I built using the intger datetimes option in case that makes a difference. Seems it is fixed in CVS now: test=> select '040506'::time; time ---------- 04:05:06 (1 row) t -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073