pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Andy <frum@ar-sd.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problem Setting DateStyle
Date: Mon, 26 Jun 2006 11:11:02 -0500
Message-ID: <1151338262.4215.51.camel@state.g2switchworks.com> (raw)
In-Reply-To: <003801c69933$58bad960$0b00a8c0@mpsro.dom>
References: <014601c69928$3dd35740$0b00a8c0@mpsro.dom>
	<29135.1151333441@sss.pgh.pa.us>
	<003801c69933$58bad960$0b00a8c0@mpsro.dom>

On Mon, 2006-06-26 at 10:15, Andy wrote:
> Steps:
> 1.
> show datestyle
>       DateStyle
>       ISO, DMY
> 
> 
> 2.
> set datestyle to 'SQL, DMY';
> show datestyle;
>       DateStyle
>       SQL, DMY
> 
> >>>>>>>>>> this should be the good result.
> 
> Now the tries:
> Edit the postgresql.conf. Set datestyle = 'SQL, DMY' parameter. Restart the 
> DB server.
> show datestyle
>       DateStyle
>       ISO, DMY
> 
> ... there is no change.
> 
> the other try:
> alter database test2 set datestyle to 'SQL, DMY';
> SQL executed.
> show datestyle
>       DateStyle
>       ISO, DMY
> 
> 
> the same...


Have you set a date style for this particular database (not the cluster)
with an alter database statement before?

I'd try to alter the database to have a certain datestyle and see if
that helps.



view thread (7+ messages)  latest in thread

Message-ID: <1151338262.4215.51.camel@state.g2switchworks.com>
Permalink:  ../1151338262.4215.51.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1151338262.4215.51.camel@state.g2switchworks.com

 · 

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: smarlowe@g2switchworks.com, frum@ar-sd.net, tgl@sss.pgh.pa.us
  Subject: Re: Problem Setting DateStyle
  In-Reply-To: <1151338262.4215.51.camel@state.g2switchworks.com>
  References: <014601c69928$3dd35740$0b00a8c0@mpsro.dom> <29135.1151333441@sss.pgh.pa.us> <003801c69933$58bad960$0b00a8c0@mpsro.dom> <1151338262.4215.51.camel@state.g2switchworks.com>

* 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