pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ragnar Kjørstad <postgres@ragnark.vestdata.no>
To: Martin Teoh <martin_teoh@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: set permanent date style
Date: Mon, 17 Jun 2002 17:11:50 +0200
Message-ID: <20020617171150.C17428@vestdata.no> (raw)
In-Reply-To: <F10108MDUGUsseEpjdR00018b33@hotmail.com>
References: <F10108MDUGUsseEpjdR00018b33@hotmail.com>

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



view thread (7+ messages)  latest in thread

Message-ID: <20020617171150.C17428@vestdata.no>
Permalink:  ../20020617171150.C17428@vestdata.no/
Also on:    postgresql.org/message-id/20020617171150.C17428@vestdata.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: postgres@ragnark.vestdata.no, martin_teoh@hotmail.com
  Subject: Re: set permanent date style
  In-Reply-To: <20020617171150.C17428@vestdata.no>
  References: <F10108MDUGUsseEpjdR00018b33@hotmail.com> <20020617171150.C17428@vestdata.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox