Re: Re: Timezone difference between Oracle SYSDATE and PostgreSQL timestamp functions

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Vinayak <vinpokale(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Re: Timezone difference between Oracle SYSDATE and PostgreSQL timestamp functions
Date: 2014-09-02 14:00:26
Message-ID: 5405CD7A.3060903@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/31/2014 09:22 PM, Vinayak wrote:
> Thank you for reply.
>
> The time return by SYSDATE depends on the OS timezone setting while in
> PostgreSQL we can set the timezone using 'set time zone..' statement so here
> timezone setting depends on DBMS but I think there are not so many systems
> that use different timezone settings between DBMS and OS.

I would say that needs clarification. If you have a database running on
a server and getting its timezone from the server OS and multiple
clients running across many timezones each with a different OS timezone,
then the above is not strictly true. So, exactly which machine OS are
you talking about?

>
>
>
>
>
> -----
> Regards,
> Vinayak,
>
> --

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Emi Lu 2014-09-02 14:59:36 Re: alter column to varchar without view drop/re-creation
Previous Message Vick Khera 2014-09-02 13:25:01 Re: Expected behaviour of \d in regexp with exponent numbers ?