Re: Timezone information - Mailing list pgsql-general

From Tom Lane
Subject Re: Timezone information
Date
Msg-id 31467.1392822112@sss.pgh.pa.us
Whole thread Raw
In response to Timezone information  (Dev Kumkar <devdas.kumkar@gmail.com>)
Responses Re: Timezone information
List pgsql-general
Dev Kumkar <devdas.kumkar@gmail.com> writes:
> How to set timezone in postgreSQL database to pick operating system level
> timezone information.

If you mean you would like to use Windows' timezone data, the answer is
you can't --- and you generally shouldn't want to, because AFAIK their
timezone data is pretty sucky: it's incomplete and not terribly accurate
about historical details.  We use the IANA timezone database[1], which is
where those names like Asia/Calcutta come from.

Most modern operating systems use the IANA database for their system-level
timezone knowledge, but Windows is still in the dark ages last I heard.

            regards, tom lane

[1] http://www.iana.org/time-zones


pgsql-general by date:

Previous
From: Tim Kane
Date:
Subject: Possible to improve optimisation / index usage based on domain properties of a function
Next
From: saravanan Chow
Date:
Subject: configuration error