Re: set DateStyle to 'SQL' - Mailing list pgsql-sql

From Roberto João Lopes Garcia
Subject Re: set DateStyle to 'SQL'
Date
Msg-id 5.1.1.6.0.20020726150420.01f45d60@ftp.mha.com.br
Whole thread Raw
In response to set DateStyle to 'SQL'  (Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>)
List 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 by date:

Previous
From: Elielson Fontanezi
Date:
Subject: Numeric Style format
Next
From: Elielson Fontanezi
Date:
Subject: 1 milion data insertion