From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruno Wolff III <bruno@wolff.to>
Cc: pgsql-docs@postgresql.org
Subject: Re: Time input documentation error
Date: Wed, 20 Aug 2003 16:24:46 -0400
Message-ID: <18233.1061411086@sss.pgh.pa.us> (raw)
In-Reply-To: <20030820134307.GA6891@wolff.to>
References: <20030820134307.GA6891@wolff.to>
Bruno Wolff III <bruno@wolff.to> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, bruno@wolff.to
Subject: Re: Time input documentation error
In-Reply-To: <18233.1061411086@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox