Re: Timezone information - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Timezone information
Date
Msg-id 53051E02.3050608@aklaver.com
Whole thread Raw
In response to Re: Timezone information  (Andrew Sullivan <ajs@crankycanuck.ca>)
List 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
>



pgsql-general by date:

Previous
From: Dev Kumkar
Date:
Subject: Re: UTF-8 collation on Windows?
Next
From: Adrian Klaver
Date:
Subject: Re: UTF-8 collation on Windows?