Re: Pgadmin III not honoring DATESTYLE

Lists: pgadmin-support
From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Francisco Leovey" <fleovey(at)yahoo(dot)com>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Pgadmin III not honoring DATESTYLE
Date: 2006-01-18 13:05:27
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40103D8CD@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

________________________________

From: pgadmin-support-owner(at)postgresql(dot)org
[mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Francisco
Leovey
Sent: 18 January 2006 12:01
To: pgadmin-support(at)postgresql(dot)org
Subject: [pgadmin-support] Pgadmin III not honoring DATESTYLE


PostgreSQL version: 8.1.2
Operating system: Linux
Description: Pgadmin III not honoring DATESTYLE
Details:

By default in postgresql.conf the DATESTYLE is set to
"SQL,European" and it works OK except for Pgadmin III.
When you ask for "view data" in Pgadmin III a date field shows
yyyy-mm-dd instead of dd/mm/yyyy
Please tell me how to fix this

pgAdmin works with DATESTYLE=ISO to ensure that dates cannot be
misinterpreted when using servers with different settings. Supporting
differing datestyles on different servers is not easy to do and can lead
to user confusion. As an administration tool we prefer pgAdmin to remain
unambiguous rather than make it easy to unintentionally enter invalid
data, or misinterpret query results.

Regards, Dave


From: Alexey Vorobyev <avorobyev(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: Pgadmin III not honoring DATESTYLE
Date: 2006-01-19 02:44:02
Message-ID: 8218f9900601181844s4bba4786xaf4da359c7ebe045@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On 1/18/06, Dave Page <dpage(at)vale-housing(dot)co(dot)uk> wrote:

> By default in postgresql.conf the DATESTYLE is set to "SQL,European" and it
> works OK except for Pgadmin III.
> When you ask for "view data" in Pgadmin III a date field shows yyyy-mm-dd
> instead of dd/mm/yyyy
> Please tell me how to fix this
>
> pgAdmin works with DATESTYLE=ISO to ensure that dates cannot be
> misinterpreted when using servers with different settings. Supporting
> differing datestyles on different servers is not easy to do and can lead to
> user confusion. As an administration tool we prefer pgAdmin to remain
> unambiguous rather than make it easy to unintentionally enter invalid data,
> or misinterpret query results.
>
> Regards, Dave

I Don't think it's a good idea to set it's own Datestyle in pgAdmin.
I work both witg psql and pgAdmin and have "German" datestyle set for database.
It's not very easy to switch my mind :) between datestyles.
By the way, previous versions of pgadmin (II ?) worked well.

--
Alexey Vorobyevv
[icq #16768917]