From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: Oliver Elphick <olly@lfix.co.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: setting default date format
Date: Wed, 1 Oct 2003 11:34:53 +0100
Message-ID: <200310011134.53676.gary.stainburn@ringways.co.uk> (raw)
In-Reply-To: <1065003193.2921.1.camel@linda.lfix.co.uk>
References: <200310011041.22815.gary.stainburn@ringways.co.uk>
<1065003193.2921.1.camel@linda.lfix.co.uk>
On Wednesday 01 October 2003 11:13 am, Oliver Elphick wrote:
> On Wed, 2003-10-01 at 10:41, Gary Stainburn wrote:
> > I want to set the default date format to european dd-mm-yyyy format.
> >
> > Can someone tell me which file, and what I need to add.
>
> In postgresql.conf:
>
> DATESTYLE = 'Postgres,European'
Hi Oliver,
When I did this, and then did 'service postgresql restart' the service failed
to start.
I have managed to get it working by amending the pg_ctl command in
/etc/rc.d/init.d/postgresql to add
-o '-o -e'
but as I said before I seem to remember that this was frowned upon because the
next time I upgrade it'll get overridden.
BTW, I'm running 7.2.3 from the RH RPMS.
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
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: gary.stainburn@ringways.co.uk, olly@lfix.co.uk
Subject: Re: setting default date format
In-Reply-To: <200310011134.53676.gary.stainburn@ringways.co.uk>
References: <200310011041.22815.gary.stainburn@ringways.co.uk> <1065003193.2921.1.camel@linda.lfix.co.uk> <200310011134.53676.gary.stainburn@ringways.co.uk>
* 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