Re: set permanent date style

From: Ragnar Kjørstad <postgres(at)ragnark(dot)vestdata(dot)no>
To: Martin Teoh <martin_teoh(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: set permanent date style
Date: 2002-06-17 15:11:50
Message-ID: 20020617171150.C17428@vestdata.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2002-06-17 15:46:28 Re: create table permission
Previous Message Nick Fankhauser 2002-06-17 14:58:23 Re: set permanent date style