| От | Michael Schuerig |
|---|---|
| Тема | Setting date format for a single output column? |
| Дата | |
| Msg-id | 200509140212.34963.michael@schuerig.de обсуждение исходный текст |
| Ответы |
Re: Setting date format for a single output column?
|
| Список | pgsql-general |
I'd like to get date columns in the results of a query in the appropriate format (EUROPEAN, GERMAN). I've tried to set DATESTYLE and it works as far as PgSQL is concerned. Unfortunately, though, this confuses the date parsing of the O/R-Mapper I'm using[*]. Is there a way to set the date style/format on a per column basis for the result returned by a SELECT statement? Michael [*] Rails/ActiveRecord. The problem actually lies still deeper in Ruby's parsedate standard lib method. -- Michael Schuerig Thinking is trying to make up mailto:michael@schuerig.de for a gap in one's education. http://www.schuerig.de/michael/ --Gilbert Ryle
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера