Re: date problem and set style european

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: date problem and set style european
Дата
Msg-id 3D29B2EB.4D454BD1@fourpalms.org
обсуждение исходный текст
Ответ на date problem and set style european  ("frank_lupo" <frank_lupo@email.it>)
Список pgsql-general
...
> 2) I set a 'European' DATESTYLE  but the result is
> gedis30=# SET DATESTYLE to 'European';
> Help me for this problem

You need to set some date style other than "ISO" (which is the default).
Setting "European" affects output date ordering for those styles where
it would be noticable, and affects the interpretation of input dates,
but does not directly determine the style of the output.

Try

  SET DATESTYLE = "Postgres,European";

or

  SET DATESTYLE = "SQL,European";

for examples which may match what you want.

                - Thomas



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: CRC function?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Compile from cvs