pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
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 10:23:54 -0400
Message-ID: <27356.1206973434@sss.pgh.pa.us> (raw)
In-Reply-To: <47F0A958.2040608@nsoft.lt>
References: <47F0A958.2040608@nsoft.lt>

Julius Tuskenis <julius@nsoft.lt> writes:
> 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
             ^^^^^

I haven't checked the timezone history, but 8.1.4 was quite a few
timezone updates ago.  Would a DST switch have happened this weekend
under old law where you live?  If so, you need to update to a more
modern set of timezone files.  Look under (probably, I don't know
gentoo) /usr/share/postgresql/timezone/

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <27356.1206973434@sss.pgh.pa.us>
Permalink:  ../27356.1206973434@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27356.1206973434@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, julius@nsoft.lt
  Subject: Re: what is the origin of postgreSQL time
  In-Reply-To: <27356.1206973434@sss.pgh.pa.us>

* 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