Re: Timezone difference between Oracle SYSDATE and PostgreSQL timestamp functions

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Timezone difference between Oracle SYSDATE and PostgreSQL timestamp functions
Date: 2014-08-29 05:15:26
Message-ID: 54000C6E.3050203@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/28/2014 10:06 PM, Vinayak wrote:
> Any idea how can we set OS timezone on PostgreSQL?

timestamp with time zone values are stored as the equivalent of UTC and
converted to the client TIME_ZONE setting for display, unless you
specify some other timezone via AT TIME ZONE

I'm not sure why any other behavior would be rational.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2014-08-29 09:51:12 Re: Timezone difference between Oracle SYSDATE and PostgreSQL timestamp functions
Previous Message Vinayak 2014-08-29 05:06:30 Timezone difference between Oracle SYSDATE and PostgreSQL timestamp functions