Re: Argentinian timezone change at the last moment. How to change pgsql tz db?

From: "Fernando Hevia" <fhevia(at)ip-tel(dot)com(dot)ar>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'Scott Marlowe'" <scott(dot)marlowe(at)gmail(dot)com>
Cc: "'Joe'" <dev(at)freedomcircle(dot)net>, "'SQL Postgresql List'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Argentinian timezone change at the last moment. How to change pgsql tz db?
Date: 2008-01-03 12:27:14
Message-ID: 014801c84e03$f8ca8730$8f01010a@iptel.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

> Tom Lane wrote:
>
> "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> writes:
> > That doesn't get me what I need. It lets me change the alias of
> > timezones, but not the start and stop of daylight savings time. I
> > think for that I'd have to edit / replace the files in
> > postgresql-8.2.x/src/timezone/data/ and recompile to fix this.
>
> Since the OP has apparently already managed to get updated tzdata files
> installed on his system, he could just copy them into
> /usr/share/postgresql/timezone --- anything using zic should be a
> compatible file format.
>
> The lack-of-ARST-on-input problem can be addressed by mucking with
> /usr/share/postgresql/timezonesets/Default, if you're using 8.2.
> In earlier versions the table is hardwired into datetime.c :-(
>
> regards, tom lane

Thanks Scott and Tom for your help on this.

After copying the updated tz file to /usr/share/postgresql/timezone Postgres
got aware of the time change.

Regarding the ARST recognition, I'm still on 8.1.9. :(
An upgrade seems urgent now.

Regards,
Fernando.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Sergio Borgonovo 2008-01-03 13:31:20 array as arguments of pg functions and php
Previous Message Sebastián Baioni 2008-01-03 11:59:29 Re: Can't make backup

Browse pgsql-sql by date

  From Date Subject
Next Message Gerardo Herzig 2008-01-03 19:33:57 WAL archiving blowed.
Previous Message Tom Lane 2008-01-02 23:45:14 Re: Argentinian timezone change at the last moment. How to change pgsql tz db?