Re: Setting date and time

Поиск
Список
Период
Сортировка
От George Weaver
Тема Re: Setting date and time
Дата
Msg-id 002a01c3e66b$d39321b0$6400a8c0@Dell4500
обсуждение исходный текст
Ответ на Setting date and time  (George Weaver <gweaver@shaw.ca>)
Ответы Re: Setting date and time  (Manuel Sugawara <masm@fciencias.unam.mx>)
Re: Setting date and time  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi Manuel,

Thanks for the response.

From what I can determine, postmaster gets the OS date and time when its
starts up, but then seems to maintain the data and time independently.  If
you change the OS date or time after postmaster is running, the two systems
will be out of synch.  I'm hoping to determine if there is a way to "reset"
the postmaster date and time to match that of the OS if they are out of
synch, without restarting postmaster.

Regards,
George


----- Original Message -----
From: "Manuel Sugawara" <masm@fciencias.unam.mx>
To: "George Weaver" <gweaver@shaw.ca>
Cc: <pgsql-novice@postgresql.org>
Sent: Wednesday, January 28, 2004 10:50 PM
Subject: Re: [NOVICE] Setting date and time


George Weaver <gweaver@shaw.ca> writes:

> Hi Everyone,
>
> Is it possible to reset the data and time in postmaster without
> restarting it?

PostgreSQL uses the OS clock for date/time issues. If you can change
the date on your system, PostgreSQL won't complain, AFAIK.

Regards,
Manuel.


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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: COPY command cannot access file...
Следующее
От: Manuel Sugawara
Дата:
Сообщение: Re: Setting date and time