From: Tom Lane <tgl@sss.pgh.pa.us>
To: nickf@ontko.com
Cc: Martin Teoh <martin_teoh@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: set permanent date style
Date: Tue, 18 Jun 2002 09:39:26 -0400
Message-ID: <25685.1024407566@sss.pgh.pa.us> (raw)
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGIEGBFCAA.nickf@ontko.com>
References: <NEBBLAAHGLEEPCGOBHDGIEGBFCAA.nickf@ontko.com>
"Nick Fankhauser" <nickf@ontko.com> writes:
> in postmaster.conf, add a line that looks something like this:
> PGDATESTYLE=ISO,European
I do not believe that will work in any released version. It will work
to set PGDATESTYLE as an environment variable in the postmaster's
environment, however.
As of 7.3 it will be possible to set DateStyle in postgresql.conf,
but up through 7.2 DateStyle is specially handled and isn't in the
set of variables that postgresql.conf knows about :-(
For the particular problem at hand, adding -e to the postmaster's
command line switches might have been enough ...
regards, tom lane
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: tgl@sss.pgh.pa.us, nickf@ontko.com, martin_teoh@hotmail.com
Subject: Re: set permanent date style
In-Reply-To: <25685.1024407566@sss.pgh.pa.us>
References: <NEBBLAAHGLEEPCGOBHDGIEGBFCAA.nickf@ontko.com> <25685.1024407566@sss.pgh.pa.us>
* 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