pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Gary Stainburn <gary.stainburn@ringways.co.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: setting default date format
Date: Wed, 01 Oct 2003 11:46:57 +0100
Message-ID: <1065005217.2920.11.camel@linda.lfix.co.uk> (raw)
In-Reply-To: <200310011134.53676.gary.stainburn@ringways.co.uk>
References: <200310011041.22815.gary.stainburn@ringways.co.uk>
	<1065003193.2921.1.camel@linda.lfix.co.uk>
	<200310011134.53676.gary.stainburn@ringways.co.uk>

On Wed, 2003-10-01 at 11:34, Gary Stainburn wrote:
> > In postgresql.conf:
> >
> > DATESTYLE = 'Postgres,European'

> When I did this, and then did 'service postgresql restart' the service failed 
> to start.

> BTW, I'm running 7.2.3 from the RH RPMS.

The feature is available in 7.3

In 7.2 I seem to remember you can set an environemntal variable
PGDATESTYLE when starting psql, and you may be able to use SET:

  SET DATESTYLE TO 'Postgres,European';

-- 
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
                 ========================================
     "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 




view thread (5+ messages)

Message-ID: <1065005217.2920.11.camel@linda.lfix.co.uk>
Permalink:  ../1065005217.2920.11.camel@linda.lfix.co.uk/
Also on:    postgresql.org/message-id/1065005217.2920.11.camel@linda.lfix.co.uk

 · 

reply

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: olly@lfix.co.uk, gary.stainburn@ringways.co.uk
  Subject: Re: setting default date format
  In-Reply-To: <1065005217.2920.11.camel@linda.lfix.co.uk>
  References: <200310011041.22815.gary.stainburn@ringways.co.uk> <1065003193.2921.1.camel@linda.lfix.co.uk> <200310011134.53676.gary.stainburn@ringways.co.uk> <1065005217.2920.11.camel@linda.lfix.co.uk>

* 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