Re: what is the origin of postgreSQL time - Mailing list pgsql-admin

From Thomas Markus
Subject Re: what is the origin of postgreSQL time
Date
Msg-id 47F0ACCC.7070403@proventis.net
Whole thread Raw
In response to what is the origin of postgreSQL time  (Julius Tuskenis <julius@nsoft.lt>)
Responses Re: what is the origin of postgreSQL time  (Julius Tuskenis <julius@nsoft.lt>)
List pgsql-admin
beware of timezone dst offset. try
select current_timestamp AT TIME ZONE 'MEST'

thomas

Julius Tuskenis schrieb:
> Hello,
>
> I have problem with postgreSQL current_timestramp. Where does it get
> its value, because it doesnt match system time. The problem appeared
> after this saturday-sunday night and is connected somehow with the
> daylight saving. Now "date" on the server returns good value, but the
> SELECT current_timestmap is 1 hour late.
>
> Postgresql 8.1.4
> OS: Gentoo Linux
>


Attachment

pgsql-admin by date:

Previous
From: Julius Tuskenis
Date:
Subject: what is the origin of postgreSQL time
Next
From: Julius Tuskenis
Date:
Subject: Re: what is the origin of postgreSQL time