Re: setting default date format

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Gary Stainburn <gary(dot)stainburn(at)ringways(dot)co(dot)uk>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: setting default date format
Date: 2003-10-01 10:13:13
Message-ID: 1065003193.2921.1.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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'

--
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
========================================
"Yet if any man suffer as a Christian, let him not be
ashamed; but let him glorify God on this behalf."
I Peter 4:16

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2003-10-01 10:19:40 Re: setting default date format
Previous Message Gary Stainburn 2003-10-01 09:41:22 setting default date format