Re: changing 'mons' in interval?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: changing 'mons' in interval?
Дата
Msg-id 20070604094308.GB16196@svana.org
обсуждение исходный текст
Ответ на changing 'mons' in interval?  (Klint Gore <kg@kgb.une.edu.au>)
Ответы Re: changing 'mons' in interval?
Список pgsql-general
On Mon, Jun 04, 2007 at 06:51:37PM +1000, Klint Gore wrote:
> Is there a way to change mons in interval::text to the full word months
> without resorting to "replace(aninterval::text,'mon','Month')"?  If it
> can handle locales as well that would be good (but I could live without
> it).

Have you considered using to_char to get the output in the exact format
you want?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Ragnar
Дата:
Сообщение: Re: simple select question
Следующее
От: Lincoln Yeoh
Дата:
Сообщение: Re: Numeric performances