| От | Thomas Kellerer |
|---|---|
| Тема | [GENERAL] Retrieve the server's time zone |
| Дата | |
| Msg-id | oueeno$619$1@blaine.gmane.org обсуждение |
| Ответы |
Re: [GENERAL] Retrieve the server's time zone
|
| Список | pgsql-general |
Hello, is there any way (short of writing a function in an untrusted PL) to determine the actual time zone (or time) of the serverOS? "show timezone" always returns the client's time zone. localtimestamp also converts the server's time to the client time zone (the one defined by "timezone") log_timezone is also unreliable as it can be changed to anything. I am looking for something along the lines of: "show server_timezone" or "select current_timestamp at time zone server_timezone" Is that possible? -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера