From: Fernando Hevia <fhevia@ip-tel.com.ar>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
To: 'Scott Marlowe' <scott.marlowe@gmail.com>
Cc: 'Joe' <dev@freedomcircle.net>
Cc: 'SQL Postgresql List' <pgsql-sql@postgresql.org>
Subject: Re: Argentinian timezone change at the last moment. How to change pgsql tz db?
Date: Thu, 3 Jan 2008 10:27:14 -0200
Message-ID: <014801c84e03$f8ca8730$8f01010a@iptel.com.ar> (raw)
In-Reply-To: <24363.1199317514@sss.pgh.pa.us>
> Tom Lane wrote:
>
> "Scott Marlowe" <scott.marlowe@gmail.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.
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-sql@postgresql.org
Cc: fhevia@ip-tel.com.ar, tgl@sss.pgh.pa.us, scott.marlowe@gmail.com, dev@freedomcircle.net
Subject: Re: Argentinian timezone change at the last moment. How to change pgsql tz db?
In-Reply-To: <014801c84e03$f8ca8730$8f01010a@iptel.com.ar>
* 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