Re: Timezone information

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

On 02/19/2014 01:16 PM, Dev Kumkar wrote:
> On Thu, Feb 20, 2014 at 2:32 AM, Andrew Sullivan <ajs(at)crankycanuck(dot)ca
> <mailto:ajs(at)crankycanuck(dot)ca>> wrote:
>
> Try issuing SET TimeZone commands. I think you'll find that the
> client can set whatever time zone it wants.
>
>
> I think am not being heard incorrectly here.
>
> Here is the scenario - Database is created using binaries and not
> postgreSQL installer here. Next this database gets created on one
> machine SRC-INDIA and then is shipped globally which can be in any
> timezone, for example TGT-USA.
> Since the database is created on SRC-INDIA the timezone parameter gets
> set as "Asia/Calcutta", but when shipped locally then now() would return
> incorrect time as per target TGT-USA local time.

Do you know where the machine is going when you do the install?

>
> Regards...

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2014-02-19 21:47:16 Re: UTF-8 collation on Windows?
Previous Message Adrian Klaver 2014-02-19 21:35:04 Re: UTF-8 collation on Windows?