Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 966C59FB6FD for ; Sun, 4 Mar 2007 13:09:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 84003-10 for ; Sun, 4 Mar 2007 13:09:55 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svana.org (calyx.svana.org [125.62.87.134]) by postgresql.org (Postfix) with ESMTP id 9ECC19FB6F9 for ; Sun, 4 Mar 2007 13:09:55 -0400 (AST) Received: from kleptog by svana.org with local (Exim 4.50) id 1HNuDH-000515-40; Mon, 05 Mar 2007 04:09:35 +1100 Date: Sun, 4 Mar 2007 18:09:35 +0100 From: Martijn van Oosterhout To: Garry Saddington Cc: pgsql-general@postgresql.org, rod@iol.ie Subject: Re: date format Message-ID: <20070304170935.GC11685@svana.org> Reply-To: Martijn van Oosterhout Mail-Followup-To: Garry Saddington , pgsql-general@postgresql.org, rod@iol.ie References: <200703041247.05097.garry@schoolteachers.co.uk> <200703041616.08699.garry@schoolteachers.co.uk> <45EAF0D5.1030707@iol.ie> <200703041705.44507.garry@schoolteachers.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NKoe5XOeduwbEQHU" Content-Disposition: inline In-Reply-To: <200703041705.44507.garry@schoolteachers.co.uk> X-PGP-Key-ID: Length=1024; ID=0x0DC67BE6 X-PGP-Key-Fingerprint: 295F A899 A81A 156D B522 48A7 6394 F08A 0DC6 7BE6 X-PGP-Key-URL: User-Agent: Mutt/1.5.9i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kleptog@svana.org X-SA-Exim-Scanned: No (on svana.org); SAEximRunCond expanded to false X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.074 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200703/207 X-Sequence-Number: 110397 --NKoe5XOeduwbEQHU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3Diso,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, --=20 Martijn van Oosterhout http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to l= itigate. --NKoe5XOeduwbEQHU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFF6v1OIB7bNG8LQkwRArI5AJ0fFIoBvpMIR+gQrt2Q8zDFxc9M6QCdGTps GiurUaSSetRdWO5stX9ZseM= =kQjf -----END PGP SIGNATURE----- --NKoe5XOeduwbEQHU--