Tom Lane wrote:
> Bruce Momjian writes:
> > Tom Lane wrote:
> >> Anybody know what Oracle's to_timestamp does?
>
> > The old thread reported Oracle returned an error;
> > http://archives.postgresql.org/pgsql-bugs/2009-06/msg00100.php
>
> Well, nothing's likely to get done about it for 9.0.
Bruce Momjian writes:
> Tom Lane wrote:
>> Anybody know what Oracle's to_timestamp does?
> The old thread reported Oracle returned an error;
> http://archives.postgresql.org/pgsql-bugs/2009-06/msg00100.php
Well, nothing's likely to get done about it for 9.0. Maybe we should
add a TODO ite
Tom Lane wrote:
> Bruce Momjian writes:
> > FYI, this behavior now returns:
>
> > test=> select to_timestamp('20096010','MMDD');
> > to_timestamp
> >
> > 2013-12-18 00:00:00-05
> > (1 row)
>
> > which doesn't have the :30 but is still odd.
Bruce Momjian writes:
> FYI, this behavior now returns:
> test=> select to_timestamp('20096010','MMDD');
> to_timestamp
>
>2013-12-18 00:00:00-05
> (1 row)
> which doesn't have the :30 but is still odd.
I don't think the behavio
FYI, this behavior now returns:
test=> select to_timestamp('20096010','MMDD');
to_timestamp
2013-12-18 00:00:00-05
(1 row)
which doesn't have the :30 but is still odd. I don't see any value
checking in to_timestamp.
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Eisentraut wrote:
> On Wednesday 10 June 2009 18:02:45 Dhaval Jaiswal wrote:
>> Yes, there isn't a use case for a month value outside 1-12, i found this
>> due a typo.
>
> What Would Oracle Do?
Oracle is throwing an error.
On Wednesday 10 June 2009 18:02:45 Dhaval Jaiswal wrote:
> Yes, there isn't a use case for a month value outside 1-12, i found this
> due a typo.
What Would Oracle Do?
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.o
Yes, there isn't a use case for a month value outside 1-12, i found this
due a typo.
On Wed, Jun 10, 2009 at 8:12 PM, Tom Lane wrote:
> Greg Stark writes:
> > On Wed, Jun 10, 2009 at 3:23 PM, Dhaval
> > Jaiswal wrote:
> >> postgres=# select to_timestamp('20096010','MMDD');
> >> ---
Greg Stark writes:
> On Wed, Jun 10, 2009 at 3:23 PM, Dhaval
> Jaiswal wrote:
>> postgres=# select to_timestamp('20096010','MMDD');
>> ---
>> 2013-12-18 00:00:00+05:30
> I suspect you'll find that the 60th month after the start of 2009 is
> in fact december 2013.
Yea
On Wed, Jun 10, 2009 at 3:23 PM, Dhaval
Jaiswal wrote:
>
> postgres=# select to_timestamp('20096010','MMDD');
>
> to_timestamp
> ---
> 2013-12-18 00:00:00+05:30
>
> (1 row)
>
> The month is 60 in my case and it is giving some random value, whereas I am
> expectin
Hi All,
postgres=# select to_timestamp('20096010','MMDD');
to_timestamp
---
2013-12-18 00:00:00+05:30
(1 row)
The month is 60 in my case and it is giving some random value, whereas I am
expecting some error message like date is not valid.
Is it an ex
11 matches
Mail list logo