Re: setting local time without restarting server

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: setting local time without restarting server
Дата
Msg-id 14684.1084494851@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: setting local time without restarting server  (Anony Mous <A.Mous@shaw.ca>)
Список pgsql-general
Anony Mous <A.Mous@shaw.ca> writes:
> Thanks, but I do want to set the system time.

You cannot do that from within Postgres, because it requires root
privileges.

> I'd like to do it without having to first change
> the system time, and then re-start the postmaster.

Who said anything about restarting the postmaster?  Just set the system
time (eg, with date(1)).

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: After update complete set
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_xlog becomes extremely large during CREATE INDEX