Re: set DateStyle to 'SQL'

Поиск
Список
Период
Сортировка
От Roberto João Lopes Garcia
Тема Re: set DateStyle to 'SQL'
Дата
Msg-id 5.1.1.6.0.20020726150420.01f45d60@ftp.mha.com.br
обсуждение исходный текст
Ответ на set DateStyle to 'SQL'  (Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>)
Список pgsql-sql
Hi

I think you want to see dates like: 26/07/2002, that is dd/mm/yyyy

To get it I set the enviroment variable  PGDATESTYLE to SQL,European in the profile script

PGDATESTYLE=SQL,European

It can also be set in psql like bellow:

=# set DATESTYLE to SQL; set DATESTYLE to European;

Roberto


At 10:27 26/07/2002, you wrote:
>Hi folks!
>
>        There are a buch of varibles like DateStyle. I am interested to set
>them
>all in script shell.
>        I've tried in postgresql.conf, but I could not.
>        I've tried in shell environment, but it did not work.
>
>        So, how can I do that?
>
>..............................................
>A Question...
>Since before your sun burned hot in space and before your race was born, I
>have awaited a question.
>
>Elielson Fontanezi 
>DBA Technical Support - PRODAM
>+55 11 5080 9493
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org 



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

Предыдущее
От: Elielson Fontanezi
Дата:
Сообщение: Numeric Style format
Следующее
От: Elielson Fontanezi
Дата:
Сообщение: 1 milion data insertion