Re: just a quick one ...

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Alessandro Baretta <alex(at)baretta(dot)com>
Cc: PostgreSQL General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: just a quick one ...
Date: 2002-07-23 10:26:51
Message-ID: 1027420012.6839.145.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2002-07-23 at 09:30, Alessandro Baretta wrote:
> Please, excuse me for stepping in. Although i read the docs,
> I have not found any indication on how to set the
> datestyle from postgresql.conf. The only way I have found is
> by specifying a -e parameter to postgres.
>
> Am I missing anything?

You can also define the environment variable PGDATESTYLE; and once you
are connected you can use SET DATESTYLE.

In 7.3 DateStyle will be settable from postgresql.conf, but not in
7.2.1.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Finally, all of you, live in harmony with one another;
be sympathetic, love as brothers, be compassionate and
humble. Do not repay evil for evil or insult for
insult, but with blessing, because to this you were
called so that you may inherit a blessing."
I Peter 3:8,9

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephane Bortzmeyer 2002-07-23 10:27:03 Problem between inheritance and references
Previous Message Pierre-Yves Landuré 2002-07-23 08:48:05 how to update template & databases ?