Forcing postgres to reload current time zone.

Поиск
Список
Период
Сортировка
От
Тема Forcing postgres to reload current time zone.
Дата
Msg-id dHJlbmE=.a1f5c74717693b1d1ebc35f898424005@1088689713.nulluser.com
обсуждение исходный текст
Ответы Re: Forcing postgres to reload current time zone.
Список pgsql-admin
Hello,

I'm writing an application that issues "SELECT current_timestamp" from
postgres on a regular basis to get the time. However, the user may
change the system's time zone and postgres does not seem to reflect this
change  unless I restart the database daemon. I cannot have all of my
program threads issue a SET TIME ZONE query, and was hoping there is a
query I could issue that would globally update the time zone for all
currently running postgres sessions, or a more gentle way to force
postgres to reload its time zone information without completely
restarting the daemon. Any advice?

I've done quite a bit of searching for this answer and I'm not coming up
with anything useful. I'm running postgres on RedHat Linux 9.

Many thanks,

trena



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

Предыдущее
От: Mike Rylander
Дата:
Сообщение: Re: SERIAL type not autoincremented
Следующее
От: Edoardo Ceccarelli
Дата:
Сообщение: finding a max value