Re: TimeZone parameter in postgresql.conf

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: TimeZone parameter in postgresql.conf
Дата
Msg-id 1346892507.4708.1.camel@sussancws0025
обсуждение исходный текст
Ответ на TimeZone parameter in postgresql.conf  (Majid Azimi <majid.merkava@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "lmanorders"
Дата:
Сообщение: Re: How to determine if a function exists
Следующее
От: Mark Davidson
Дата:
Сообщение: On naming of executables