datestyle

From: "Crombleholme, Roy" <Roy(dot)Crombleholme(at)its(dot)lancscc(dot)gov(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: datestyle
Date: 2003-05-16 09:00:11
Message-ID: 4F9235D7B7D2D611B8DB000802E65AC506231D@lccmail2.lancscc.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi everyone,

Got a small problem with dates on postgresql. if i connect to a database
and then run the command: SET datestyle to european;
The date gets set to ISO with european conventions but only for the current
session. At the moment its default is ISO with US (non european)
conventions.

I need to be able to set the default to european. I put datestyle =
european in the postgresql.conf file but postmaster complained about this
and would not start up. Does anybody know the correct entry to achieve this
or a postmaster -c "command"

Many thanks

Roy Crombleholme
Trainee ICT Engineer
ICT Services
Resources Directorate
Lancashire County Council
01772 5-31849
Email: roy(dot)crombleholme(at)its(dot)lancscc(dot)gov(dot)uk

********************
This e-mail contains information intended for the addressee only.
It may be confidential and may be the subject of legal and/or professional privilege.
If you are not the addressee you are not authorised to disseminate, distribute, copy or use this e-mail or any attachment to it
The content may be personal or contain personal opinions and unless specifically stated or followed up in writing, the content cannot be taken to form a contract or to be an expression of the County Council's position.
LCC reserves the right to monitor all incoming and outgoing email
LCC has taken reasonable steps to ensure that outgoing communications do not contain malicious software and it is your responsibility to carry out any checks on this email before accepting the email and opening attachments.
********************

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2003-05-16 13:23:05 Re: datestyle
Previous Message Ville Jungman 2003-05-16 08:29:33 Re: select only default