Re: Timezone information

From: Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Timezone information
Date: 2014-02-20 12:29:14
Message-ID: CALSLE1MDCohAeu6-WN_grn_eJHakjOXeuArU0Fb-FBv2OTj5mw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 20, 2014 at 3:53 AM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>wrote:

> Each driver will have its own behavior. For an explanation of the JDBC
> behavior see here:
>
> http://www.postgresql.org/message-id/4B2F2CED.10400@opencloud.com
>
>
> Per Andrews posts, the least surprise behavior is to explicitly set the
> client time zone. Then you control what is being seen/used.

Actually then this goes back to the same thing that identify the timezone
setting in OS and accordingly set at the driver level.
In case of java JVM is picking up OS timezone and hence things are working
without any issues for windows/linux both.

Regards...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dev Kumkar 2014-02-20 12:33:36 Re: Timezone information
Previous Message Dev Kumkar 2014-02-20 12:18:42 Re: UTF-8 collation on Windows?