Re: Timezone information

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>, pgsql-general(at)postgresql(dot)org
Subject: Re: Timezone information
Date: 2014-02-19 21:11:30
Message-ID: 53051E02.3050608@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/19/2014 01:02 PM, Andrew Sullivan wrote:
> On Thu, Feb 20, 2014 at 02:24:53AM +0530, Dev Kumkar wrote:
>> Ok but am confused then, as if no timezone parameter is defined in
>> postgreSQL.conf file then yes UTC time is returned. "Select now()"
>> but if timezone parameter is set then "Select now()" returns date time as
>> per timezone.
>
> Try issuing SET TimeZone commands. I think you'll find that the
> client can set whatever time zone it wants.

I think what the OP wants is to know how Postgres sets TimeZone in
postgresql.conf when a cluster is created via initdb on Windows?

>
> Best regards,
>
> A
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-02-19 21:15:00 Re: UTF-8 collation on Windows?
Previous Message Dev Kumkar 2014-02-19 21:09:33 Re: UTF-8 collation on Windows?