Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 6906D476430 for ; Mon, 17 Jun 2002 12:13:45 -0400 (EDT) Received: from stine.vestdata.no (stine.vestdata.no [195.204.68.10]) by postgresql.org (Postfix) with ESMTP id 1B4F3476662 for ; Mon, 17 Jun 2002 11:11:49 -0400 (EDT) Received: (from ragnark@localhost) by stine.vestdata.no (8.11.6/8.11.2) id g5HFBot07795; Mon, 17 Jun 2002 17:11:50 +0200 Date: Mon, 17 Jun 2002 17:11:50 +0200 From: =?iso-8859-1?Q?Ragnar_Kj=F8rstad?= To: Martin Teoh Cc: pgsql-admin@postgresql.org Subject: Re: set permanent date style Message-ID: <20020617171150.C17428@vestdata.no> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from martin_teoh@hotmail.com on Sat, Jun 15, 2002 at 03:42:00AM +0000 X-Archive-Number: 200206/111 X-Sequence-Number: 4546 On Sat, Jun 15, 2002 at 03:42:00AM +0000, Martin Teoh wrote: > I just install postgres 7.2.1 and start the server using the start up script > provided in contrib/start-scripts/linux. Now I want my date style to > automatically change to European every time the postgres server is started. > How can I do it? add -o \"-o -e\" to the arguments of pg_ctl in the inits-cript. (at least with the RH init-script). Alternatively you can set an enviroment-variable before starting the deamon. -- Ragnar Kjørstad Big Storage