Received: from ftp.mha.com.br (ftp.mha.com.br [200.173.11.242]) by postgresql.org (Postfix) with ESMTP id 8E1264759FA for ; Fri, 26 Jul 2002 14:18:12 -0400 (EDT) Received: from pc116.mha.com.br (mha1.mha.com.br [200.173.11.241]) by ftp.mha.com.br (8.11.6/8.8.7) with ESMTP id g6QIGiU07643; Fri, 26 Jul 2002 15:16:44 -0300 Message-Id: <5.1.1.6.0.20020726150420.01f45d60@ftp.mha.com.br> X-Sender: roberto@ftp.mha.com.br X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Fri, 26 Jul 2002 15:16:57 -0300 To: Elielson Fontanezi From: Roberto =?iso-8859-1?Q?Jo=E3o?= Lopes Garcia Subject: Re: set DateStyle to 'SQL' Cc: pgsql-sql In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200207/419 X-Sequence-Number: 8797 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