From: Martijn van Oosterhout <kleptog@svana.org>
To: Garry Saddington <garry@schoolteachers.co.uk>
Cc: pgsql-general@postgresql.org
Cc: rod@iol.ie
Subject: Re: date format
Date: Sun, 4 Mar 2007 18:09:35 +0100
Message-ID: <20070304170935.GC11685@svana.org> (raw)
In-Reply-To: <200703041705.44507.garry@schoolteachers.co.uk>
References: <200703041247.05097.garry@schoolteachers.co.uk>
<200703041616.08699.garry@schoolteachers.co.uk>
<45EAF0D5.1030707@iol.ie>
<200703041705.44507.garry@schoolteachers.co.uk>
On Sun, Mar 04, 2007 at 05:05:44PM +0000, Garry Saddington wrote:
> On Sunday 04 March 2007 16:16, Raymond O'Donnell wrote:
> > On 04/03/2007 16:16, Garry Saddington wrote:
> > > I tried pgAdmin3 on windows to run 'select now()' and it still does not
> > > return the correct datestyle.
> >
> > Probably a silly question, but did you remember to restart the server
> > after changing the datestyle setting?
> yes
> regards
Can you show us your exact output so we don't have to guess? I get
this:
# set datestyle=iso,dmy;
SET
# select now();
now
-------------------------------
2007-03-04 18:07:54.626267+01
(1 row)
Which is precisely what I expect.
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/> From each according to his ability. To each according to his ability to litigate.
Attachments:
signature.asc (application/pgp-signature, 188B) download
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-general@postgresql.org
Cc: kleptog@svana.org, garry@schoolteachers.co.uk, rod@iol.ie
Subject: Re: date format
In-Reply-To: <20070304170935.GC11685@svana.org>
References: <200703041247.05097.garry@schoolteachers.co.uk> <200703041616.08699.garry@schoolteachers.co.uk> <45EAF0D5.1030707@iol.ie> <200703041705.44507.garry@schoolteachers.co.uk> <20070304170935.GC11685@svana.org>
* 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