Re: Date Format Inquiry - Mailing list pgsql-general

From Allan Engelhardt
Subject Re: Date Format Inquiry
Date
Msg-id 3B7451F9.AB35F922@cybaea.com
Whole thread Raw
In response to Date Format Inquiry  (<pgsql-general@commandprompt.com>)
List pgsql-general
pgsql-general@commandprompt.com wrote:

> In fact, it shows up correctly up until after I try to specify past
> january, but above the 31st day it fails.
>
> lx=# SELECT date('99031');
>     date
> ------------
>  1999-01-31
> (1 row)
>
> lx=# SELECT date('99032');
> ERROR:  Bad date external representation '99032'
>
> Is this format no longer maintained, or am I missing something? ;)

select '1999.032'::DATE;

still works and is probably more sound........

Allan.



pgsql-general by date:

Previous
From: "Sue Lane"
Date:
Subject: Re: Ora2pg.pl - some feedback
Next
From: Justin Clift
Date:
Subject: Re: Slightly OT: Open Source database design tool?