Re: Populate a calendar table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Populate a calendar table
Дата
Msg-id 27754.1175011249@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Populate a calendar table  (Raymond O'Donnell <rod@iol.ie>)
Ответы Re: Populate a calendar table  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
"Raymond O'Donnell" <rod@iol.ie> writes:
>      to_char(extract (month from d.dates), 'FMmonth') as month_name,
>      to_char(extract (day from d.dates), 'FMday') as day_name

I think you want just to_char(d.dates, 'FMmonth') and so on.
What you're invoking above is to_char(numeric) which has entirely
different format codes...

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-advocacy] Is there a shortage of postgresql skilled ops people
Следующее
От: Osvaldo Rosario Kussama
Дата:
Сообщение: Re: Populate a calendar table