Re: Time input documentation error - Mailing list pgsql-docs

From Tom Lane
Subject Re: Time input documentation error
Date
Msg-id 18233.1061411086@sss.pgh.pa.us
Whole thread Raw
In response to Time input documentation error  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: Time input documentation error  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-docs
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

pgsql-docs by date:

Previous
From: Bruno Wolff III
Date:
Subject: Time input documentation error
Next
From: Bruno Wolff III
Date:
Subject: Re: Time input documentation error