Re: permanent EuroDates

Oliver Elphick <olly@lfix.co.uk>

From: Oliver Elphick <olly@lfix.co.uk>
To: Yury Bokhoncovich <byg@center-f1.ru>
Cc: pgsql-hackers@postgresql.org
Date: 2002-03-04T10:06:51Z
Lists: pgsql-hackers
On Mon, 2002-03-04 at 09:25, Yury Bokhoncovich wrote:
> On 4 Mar 2002, Oliver Elphick wrote:
> 
> > On Mon, 2002-03-04 at 07:11, Yury Bokhoncovich wrote:
> > > Need advice: where is the right place to get eurodates "by default"?
> >
> > export PGDATESTYLE=Iso,European
> > pg_ctl start
> 
> Mmmm...but if I wanna POSTGRES-like time format with eurodates?

export PGDATESTYLE=Postgres,European

> Option -e of postgres works fine but its absence in postmaster
> is a pain IMHO. Messing with environement variable is bad IMHO.

You can limit it to pg_ctl itself:

  PGDATESTYLE=Postgres,European pg_ctl...

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C

     "Give, and it will be given to you. A good measure, 
      pressed down, taken together and running over, 
      will be poured into your lap. For with the same 
      measure that you use, it will be measured to 
      you."         Luke 6:38