Re: just a quick one ... - Mailing list pgsql-general

From Oliver Elphick
Subject Re: just a quick one ...
Date
Msg-id 1027420012.6839.145.camel@linda
Whole thread Raw
In response to Re: just a quick one ...  (Alessandro Baretta <alex@baretta.com>)
List 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.Elphick@lfix.co.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


pgsql-general by date:

Previous
From: "Ben-Nes Michael"
Date:
Subject: Closing Gaps in Celko trees
Next
From: Stephane Bortzmeyer
Date:
Subject: Problem between inheritance and references