Re: New to_timestamp implementation is pretty strict - Mailing list pgsql-hackers

From Robert Haas
Subject Re: New to_timestamp implementation is pretty strict
Date
Msg-id 603c8f070812010805y1e390982nab6fdafdd918f776@mail.gmail.com
Whole thread Raw
In response to Re: New to_timestamp implementation is pretty strict  ("Robert Haas" <robertmhaas@gmail.com>)
Responses Re: New to_timestamp implementation is pretty strict
List pgsql-hackers
Another point here is that we have always accepted single digits in dates:

portal=> select '2008-11-1'::date;   date
------------2008-11-01
(1 row)

portal=> select '2008-1-11'::date;   date
------------2008-01-11
(1 row)

If we're going to handle dates and timestamps inconsistently, there
should be a good reason for it.

...Robert


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: New to_timestamp implementation is pretty strict
Next
From: "Hitoshi Harada"
Date:
Subject: Re: Windowing Function Patch Review -> Standard Conformance