output format for dates

Поиск
Список
Период
Сортировка
От am@fx.ro
Тема output format for dates
Дата
Msg-id 20020923110204.A4629@coto
обсуждение исходный текст
Ответы Re: output format for dates
Список pgsql-general
>
>So, here comes my question:  is it possible to create a new
>custom datestyle and set it as default ?

Browsing the sources, i've found a function EncodeDateOnly() in
src/backend/utils/adt which seems to be the function that generates
strings representing dates.

It seems easy to add a 'case' statement for a new datestyle.
But, i guess that won't be enough.

Where else should I add the new datestyle, so that i'll be able to
use it with SET DATESTYLE ?


Thanks in advance,
Adrian Maier (am@fx.ro)


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

Предыдущее
От: Yury Bokhoncovich
Дата:
Сообщение: Re: Open Source Database article
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Tips for re-using function results within single insert