From: | Robert DiFalco <robert(dot)difalco(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Server Timezone |
Date: | 2014-04-08 04:09:22 |
Message-ID: | 13B7318C-3415-4F14-AE28-F9DAD8C27963@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
You're right. This was my error.
Sent from my iPhone
> On Apr 7, 2014, at 8:53 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Robert DiFalco <robert(dot)difalco(at)gmail(dot)com> writes:
>> Is there any way to set the timezone of the postgres server differently
>> than the OS? I *have* tried setting timezone = 'UTC' in my postgresql.conf
>> file but that seems to be a VIEW of time zone. It doesn't seem to behave
>> the same as running a postgresql server on a machine that is in UTC.
>
> You would need to be more precise about "doesn't seem to behave the same"
> for anyone to help you. Setting the timezone parameter (and perhaps
> log_timezone) should cover it, so far as the server is concerned.
>
> Are you sure your client-side code isn't doing something helpful with
> what it thinks the timezone is?
>
> regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2014-04-08 05:34:18 | Re: Increase in max_connections |
Previous Message | Tom Lane | 2014-04-08 03:53:12 | Re: Server Timezone |