Re: Time Zone in Postgres

From: Shilpa Sudhakar <ssudhakar(at)internode(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Time Zone in Postgres
Date: 2008-03-07 00:59:53
Message-ID: 47D09389.9030500@internode.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Tom,

I live in Adelaide Australia. I checked in 3 servers and all of them
have "Australia/South" when i ran "show timezone"

For the new timezone files, do i need to apply a timezone patch?

Thanks

Tom Lane wrote:
> Shilpa Sudhakar <ssudhakar(at)internode(dot)com(dot)au> writes:
>
>> 1) Checked the *postgresql.conf file* and the *timezone *parameter is
>> set as "*unknown*".
>>
>
> What does SHOW TIMEZONE report? Given the above, Postgres will try to
> deduce what zone your operating system is using, but that doesn't always
> work perfectly (especially if PG's timezone database isn't quite in sync
> with the system's). If it guessed wrong, you might have to explicitly
> set the appropriate zone in postgresql.conf. You weren't very clear
> about where you live, so I don't know which of the numerous
> Australia/wherever zones you should use...
>
>
>> */local/pkgsrc/databases/postgresql80-pgcrypto/work/postgresql-8.0.9/src/timezone/data
>> $ grep 2008 australasia*
>>
>
>
>> No results
>>
>
> Well, no. 8.0.9 was released on 2006-10-16, many months before that
> change in DST laws was passed. You need a newer set of zoneinfo files.
>
> regards, tom lane
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2008-03-07 01:00:33 Re: Time Zone in Postgres
Previous Message Tom Lane 2008-03-07 00:54:29 Re: Time Zone in Postgres