Problems with Timezones in Australia

From: "Craig Ayliffe" <cayliffe(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Problems with Timezones in Australia
Date: 2008-10-16 06:23:08
Message-ID: 4fafa3be0810152323v4ac31a6el556d48fda4f17854@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have several Postgres DB's not showing correct daylight savings time.

From maillist etc I believe these are patched up to the right levels to have
the correct time zones - but they don't seem to be working still.

The unix date command show the correct dates.

Server 1: postgresql-8.2.4 (Ubuntu 7.04)

dbtest=> show timezone;
TimeZone
-----------
localtime
(1 row)

dbtest=> select localtime;
time
-----------------
16:16:32.853566
(1 row)

craiga(at)xyz-01:~$ date
Thu Oct 16 17:16:36 EST 2008

And another:

Server2: Postgresql-8.1.9 (on Ubuntu Dapper 6.06.1)
btest=> show timezone ;
TimeZone
---------------
Australia/ACT
(1 row)

btest=> select localtime;
time
-----------------
16:17:45.227342
(1 row)

craiga(at)citadel:~$ date
Thu Oct 16 17:18:31 EST 2008

--
Craig Ayliffe

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michele Petrazzo - Unipex srl 2008-10-16 06:28:56 Re: No select permission on a table but can query it
Previous Message A. Kretschmer 2008-10-16 05:21:20 Re: Numbering rows