Re: TimeZone parameter in postgresql.conf - Mailing list pgsql-novice

From Jeff Davis
Subject Re: TimeZone parameter in postgresql.conf
Date
Msg-id 1346892507.4708.1.camel@sussancws0025
Whole thread Raw
In response to TimeZone parameter in postgresql.conf  (Majid Azimi <majid.merkava@gmail.com>)
List pgsql-novice
On Wed, 2012-09-05 at 22:33 +0430, Majid Azimi wrote:
> postgresql documentation says:
>
>         All timezone-aware dates and times are stored internally in
>         UTC. They are converted to local time in the zone specified by
>         the timezone configuration parameter before being displayed to
>         the client.
>
>
> timezone parameter is a session parameter. When all TIMESTAMP WITH
> TIME ZONEs will be stored as UTC and the client connection will
> specify the session timezone, then what is the benefit of setting
> TimeZone parameter in postgresql.conf?

It's essentially just a default so that you don't have to specify it in
the session.

Regards,
    Jeff Davis




pgsql-novice by date:

Previous
From: "lmanorders"
Date:
Subject: Re: How to determine if a function exists
Next
From: Mark Davidson
Date:
Subject: On naming of executables