Re: Junk date getting uploaded into date field

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Junk date getting uploaded into date field
Дата
Msg-id l5aon6$13b$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: Junk date getting uploaded into date field  (bsreejithin <bsreejithin@gmail.com>)
Ответы Re: Junk date getting uploaded into date field
Re: Junk date getting uploaded into date field
Re: Junk date getting uploaded into date field
Список pgsql-general
bsreejithin, 05.11.2013 13:14:
> Not able to post the attached details as a comment in the reply box, so
> attaching it as an image file :
> <http://postgresql.1045698.n5.nabble.com/file/n5776987/Untitled.png>

It would have much easier if you had simply used copy & paste to post a text version of that SQL.
Does your mail client not allow you to do that?

But your test case is essentially this:

   select to_date('33-OCT-2013', 'dd-mon-yyyy')

which indeed returns 2013-11-02 (using 9.3.1)

I don't know if this is inteded or actually a bug - I can't find anything in the docs relating to that behaviour.

Thomas


В списке pgsql-general по дате отправления:

Предыдущее
От: bsreejithin
Дата:
Сообщение: Re: Junk date getting uploaded into date field
Следующее
От: bsreejithin
Дата:
Сообщение: Re: Junk date getting uploaded into date field