Re: India time zone missing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sanjay" <sbanerji(at)bom(dot)direm(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: India time zone missing
Date: 2004-01-31 17:19:02
Message-ID: 4983.1075569542@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Sanjay" <sbanerji(at)bom(dot)direm(dot)com> writes:
> The India Time Zone (IST) which is 5:30 + ahead of UST / GMT is not availab=
> le in PostgreSQL.

Looks like the Israelis beat you to it:

{"ist", TZ, POS(8)}, /* Israel */

This isn't the first such conflict we've heard about. I suppose the
eventual solution will be to remove the built-in table of timezone names
in favor of a configuration file that defines the timezones to be used,
so that people could easily customize the zone names for local use.
This is not very high on the to-do list of any of the key developers,
however. In the meantime you could just hack the timezone table (look
in src/backend/utils/adt/datetime.c).

> Also, India specific built in conversions (e.g. utf_8_to_euc_jp) for Indian=
> languages like Hindi, Tamil, etc. seem to be missing.

Want to contribute them?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PostgreSQL Bugs List 2004-01-31 17:33:31 BUG #1071: -fPIC needed for plperl & amd64
Previous Message Stephan Szabo 2004-01-31 15:29:20 Re: BUG #1070: Postgres restarts OS