Problem Setting DateStyle

Поиск
Список
Период
Сортировка
От Andy
Тема Problem Setting DateStyle
Дата
Msg-id 014601c69928$3dd35740$0b00a8c0@mpsro.dom
обсуждение исходный текст
Ответы Re: Problem Setting DateStyle
Список pgsql-admin
I want to have the DD/MM/YYYY date format in my database without to specify it with:
SET DateStyle='SQL, DMY' at every query.
 
I tried to modify it in postgres.conf >>> datestyle = 'European' or datestyle = 'SQL, DMY'
and I tried to make
alter database test5 SET DateStyle='SQL, DMY';
 
.... none of these worked.
 
If I run in a session
SET DateStyle='SQL, DMY'
then it is ok for that session.
 
How can I make it default for the whole system or at least for some databases?
 
OS: Suse 10, pgsql 8.0.3.
 
Regards,
 
Andy.

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

Предыдущее
От: "Sistemas C.M.P."
Дата:
Сообщение: PosgreSQL with Joomla
Следующее
От: Dennis Wagner
Дата:
Сообщение: Using GUIDs