Re: Time Zone design issues

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Time Zone design issues
Дата
Msg-id 20070910153907.GC5112@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Time Zone design issues  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Martijn van Oosterhout escribió:

> The postgres function now() is the same: it returns a number of seconds.
> Only when you actually go to display it does it do the localtime()
> dance (internally) to make it look nice. That why you can set the
> timezone to whatever you like and everything works the same.

FWIW, the equivalent to the TZ variable in Postgres is setting the
TimeZone variable (either using SET at the start of the session, or via
ALTER USER/SET, etc).

--
Alvaro Herrera                        http://www.advogato.org/person/alvherre
"E pur si muove" (Galileo Galilei)

В списке pgsql-general по дате отправления:

Предыдущее
От: novnov
Дата:
Сообщение: Re: Time Zone design issues
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Checking is TSearch2 query is valid