Re: date in european style

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Salvador Mainé <salvamaine(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: date in european style
Date: 2001-02-05 14:02:36
Message-ID: 200102051402.f15E2aw16492@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Salvador =?iso-8859-1?Q?Main=E9?= wrote:
>Hello:
>
>I'm using postgresql v7.0.2, from RedHat 7.0 installation. How can I
>configure it to use dates in european format? I used to put -o-e in the
>execution of postmaster in /etc/rc.d/rc.init/postgresql, but now they
>use a different program to start (pg_ctl):
>
>su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster
>start >/dev/null 2>&1" < /dev/null

pg_ctl has a -o option to send options to the postmaster, so you should
be able to do

pg_ctl -o "-o -e"

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Lift up your heads, O ye gates; and be ye lift up, ye
everlasting doors; and the King of glory shall come
in. Who is this King of glory? The LORD strong and
mighty, the LORD mighty in battle."
Psalms 24:7,8

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2001-02-05 14:57:58 Re: find bad record
Previous Message Thomas Heller 2001-02-05 13:08:18 find bad record