Re: Setting date and time - Mailing list pgsql-novice

From George Weaver
Subject Re: Setting date and time
Date
Msg-id 002a01c3e66b$d39321b0$6400a8c0@Dell4500
Whole thread Raw
In response to Setting date and time  (George Weaver <gweaver@shaw.ca>)
Responses Re: Setting date and time  (Manuel Sugawara <masm@fciencias.unam.mx>)
Re: Setting date and time  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: COPY command cannot access file...
Next
From: Manuel Sugawara
Date:
Subject: Re: Setting date and time