Re: Comma Comma Comma 8601

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Comma Comma Comma 8601
Date: 2013-08-05 17:17:59
Message-ID: 519633D0-8DD9-497C-B575-85B893FD9575@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jul 23, 2013, at 6:24 PM, David E. Wheeler <david(at)justatheory(dot)com> wrote:

> I kind of suspect not, since this fails:
>
> david=# select '12:24:53 654'::time;
> ERROR: invalid input syntax for type time: "12:24:53 654"
> LINE 1: select '12:24:53 654'::time;
> ^
>
> I would have guessed that the time parser gets to a state where it knows it is dealing with a ISO-8601-style time. But I have not looked at the code, of course.

I added this to the To Dos so it won’t get lost.

https://wiki.postgresql.org/wiki/Todo#Dates_and_Times

Best,

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2013-08-05 17:21:56 Re: File-per-GUC WAS: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Previous Message Tom Lane 2013-08-05 17:16:10 Re: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])