From: Vishal Arora <aroravishal22@hotmail.com>
To: Julius Tuskenis <julius@nsoft.lt>
Cc: pgsql-admin@postgresql.org
Subject: Re: what is the origin of postgreSQL time
Date: Mon, 31 Mar 2008 17:34:16 +0530
Message-ID: <BLU110-W46B92565B12EEB09A3487DA9FA0@phx.gbl> (raw)
In-Reply-To: <47F0BA81.6080405@nsoft.lt>
References: <47F0A958.2040608@nsoft.lt>
<47F0ACCC.7070403@proventis.net>
<47F0BA81.6080405@nsoft.lt>
Have you checked timezone parameter in postgresql.conf file?
- Vishal
> Date: Mon, 31 Mar 2008 13:18:41 +0300> From: julius@nsoft.lt> CC: pgsql-admin@postgresql.org> Subject: Re: [ADMIN] what is the origin of postgreSQL time> > If I use select current_timestamp AT TIME ZONE 'EEST' I get good time > (EEST - I'm in Lithuania). But how do I make postgreSQL use system time > by default? The thing is we have 8 servers working and none of them is > affected by this issue. Only one refuses to switch to summer time.> > Julius Tuskenis> > Thomas Markus ra¹ì:> > 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> >>> >> > ------------------------------------------------------------------------> >> >> > > > > -- > Julius Tuskenis> Programuotojas> UAB nSoft> mob. +37068233050> > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)> To make changes to your subscription:> http://www.postgresql.org/mailpref/pgsql-admin
_________________________________________________________________
Education: Are exams worrying you all the day long? Write to MSN education experts for help.
http://education.in.msn.com/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: aroravishal22@hotmail.com, julius@nsoft.lt
Subject: Re: what is the origin of postgreSQL time
In-Reply-To: <BLU110-W46B92565B12EEB09A3487DA9FA0@phx.gbl>
References: <47F0A958.2040608@nsoft.lt> <47F0ACCC.7070403@proventis.net> <47F0BA81.6080405@nsoft.lt> <BLU110-W46B92565B12EEB09A3487DA9FA0@phx.gbl>
* 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