From: Thomas Markus <t.markus@proventis.net>
To: pgsql-admin@postgresql.org
Subject: Re: what is the origin of postgreSQL time
Date: Mon, 31 Mar 2008 11:20:12 +0200
Message-ID: <47F0ACCC.7070403@proventis.net> (raw)
In-Reply-To: <47F0A958.2040608@nsoft.lt>
References: <47F0A958.2040608@nsoft.lt>
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
>
Attachments:t_markus.vcf (text/x-vcard, 267B) download
begin:vcard
fn:Thomas Markus
n:Markus;Thomas
org:proventis GmbH
adr:;;Zimmerstr. 79-80;Berlin;Berlin;10117;Germany
email;internet:t.markus@proventis.net
tel;work:+49 30 29 36 399 22
x-mozilla-html:FALSE
url:http://www.proventis.net
version:2.1
end:vcard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: t.markus@proventis.net
Subject: Re: what is the origin of postgreSQL time
In-Reply-To: <47F0ACCC.7070403@proventis.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox