Re: European dates with Win32 version

Lists: pgsql-general
From: "Raymond O'Donnell" <rod(at)iol(dot)ie>
To: pgsql-general(at)postgresql(dot)org
Subject: European dates with Win32 version
Date: 2004-08-30 12:00:48
Message-ID: 41332500.4452.41384@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Hi all,

This is probably a silly question, but.......how do I get European-
style dates with 8.0 for Win32?

I'm running on XP Pro, and I've tried adding -o "-o -e" to the pg_ctl
command line (as one would on Linux) - I had to edit the registry to
insert it at the end of the command line. However, the service falls
over with the following in the event log:

pg_ctl.exe: invalid option (null)

I also tried putting the same options in the "start parameters" part
of the properties sheet for the PostgreSQL service, but while the
service started without problem it made no difference to the date
output.

Any help will be appreciated.

--Ray O'Donnell

-------------------------------------------------------------
Raymond O'Donnell http://www.galwaycathedral.org/recitals
rod(at)iol(dot)ie Galway Cathedral Recitals
-------------------------------------------------------------


From: Daniel Schuchardt <daniel_schuchardt(at)web(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: European dates with Win32 version
Date: 2004-08-30 16:19:59
Message-ID: cgvk2t$1jfg$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Raymond O'Donnell schrieb:
>
> This is probably a silly question, but.......how do I get European-
> style dates with 8.0 for Win32?
>

do you know

# - Locale and Formatting -

datestyle = 'iso, dmy'

in postgresql.conf?


From: "Raymond O'Donnell" <rod(at)iol(dot)ie>
To: Daniel Schuchardt <daniel_schuchardt(at)web(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: European dates with Win32 version
Date: 2004-08-31 12:37:39
Message-ID: 41347F23.22123.3A45F@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On 30 Aug 2004 at 18:19, Daniel Schuchardt wrote:

> do you know
> # - Locale and Formatting -
> datestyle = 'iso, dmy'
> in postgresql.conf?

Now I do!! - that's fixed it - thanks.

--Ray.

-------------------------------------------------------------
Raymond O'Donnell http://www.galwaycathedral.org/recitals
rod(at)iol(dot)ie Galway Cathedral Recitals
-------------------------------------------------------------


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Raymond O'Donnell" <rod(at)iol(dot)ie>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: European dates with Win32 version
Date: 2004-10-07 18:48:05
Message-ID: 200410071848.i97Im6P28331@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general


OK, we just tested this on Win32 and it now works fine. Seems we must
have fixed it somehow between your report and now.

---------------------------------------------------------------------------

Raymond O'Donnell wrote:
> Hi all,
>
> This is probably a silly question, but.......how do I get European-
> style dates with 8.0 for Win32?
>
> I'm running on XP Pro, and I've tried adding -o "-o -e" to the pg_ctl
> command line (as one would on Linux) - I had to edit the registry to
> insert it at the end of the command line. However, the service falls
> over with the following in the event log:
>
> pg_ctl.exe: invalid option (null)
>
> I also tried putting the same options in the "start parameters" part
> of the properties sheet for the PostgreSQL service, but while the
> service started without problem it made no difference to the date
> output.
>
> Any help will be appreciated.
>
> --Ray O'Donnell
>
> -------------------------------------------------------------
> Raymond O'Donnell http://www.galwaycathedral.org/recitals
> rod(at)iol(dot)ie Galway Cathedral Recitals
> -------------------------------------------------------------
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: "Raymond O'Donnell" <rod(at)iol(dot)ie>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: European dates with Win32 version
Date: 2004-10-08 12:01:41
Message-ID: 41668FB5.332.429CEA@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On 7 Oct 2004 at 14:48, Bruce Momjian wrote:

> OK, we just tested this on Win32 and it now works fine. Seems we must
> have fixed it somehow between your report and now.

Good on ye! Someone else also pointed out to me the following in
postgresql.conf -

datestyle = 'iso, dmy'

- which I hadn't been aware of, and which has fixed my problem.
Thanks for the reply!

--Ray.

-------------------------------------------------------------
Raymond O'Donnell http://www.galwaycathedral.org/recitals
rod(at)iol(dot)ie Galway Cathedral Recitals
-------------------------------------------------------------