Re: Getting error while trying to insert date with the format 'dd-month-yyyy' , 'day-mm-yyyy' etc..
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: Getting error while trying to insert date with the format 'dd-month-yyyy' , 'day-mm-yyyy' etc.. |
| Дата | |
| Msg-id | 200906102132.27090.peter_e@gmx.net обсуждение |
| Ответ на | Re: Getting error while trying to insert date with the format 'dd-month-yyyy' , 'day-mm-yyyy' etc.. (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Getting error while trying to insert date with the
format 'dd-month-yyyy' , 'day-mm-yyyy' etc..
|
| Список | pgsql-hackers |
On Wednesday 10 June 2009 17:10:42 Tom Lane wrote: > Rushabh Lathia <rushabh.lathia@gmail.com> writes: > > Getting error while trying to insert date with the format 'dd-month-yyyy' > > , 'day-mm-yyyy' (format which add the space in between the date ) etc.. > > 1. Why are you bothering with the completely pointless to_char call at all? Random guess for entertainment: Oracle applications do this sort of thing all the time. > 2. It is not a bug that to_char is capable of emitting formats that > won't be read by the standard datetime input converter. If you insist > on making a useless conversion to char and back, it's on your head to > choose a format setting that will work. Of course they then also use to_date all the time.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера