From: Shilpa Sudhakar <ssudhakar@internode.com.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Time Zone in Postgres
Date: Fri, 07 Mar 2008 11:29:53 +1030
Message-ID: <47D09389.9030500@internode.com.au> (raw)
In-Reply-To: <27825.1204851269@sss.pgh.pa.us>
References: <2d6659d70803051856x652174a5ic8655d070a95db59@mail.gmail.com>
<BLU110-W2010012C95121A7D325BF9A9120@phx.gbl>
<2d6659d70803052151q5861981aw3a1a2e39e3970704@mail.gmail.com>
<BLU110-W581D897155BF62F438C486A9120@phx.gbl>
<19281.1204827832@sss.pgh.pa.us>
<47D076B3.8090304@internode.com.au>
<20080306234653.GA20591@bunyip.billabong.weebeasite.net>
<47D089CE.4040607@internode.com.au>
<27825.1204851269@sss.pgh.pa.us>
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@internode.com.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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ssudhakar@internode.com.au, tgl@sss.pgh.pa.us
Subject: Re: Time Zone in Postgres
In-Reply-To: <47D09389.9030500@internode.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox