NZDT Question

From: "Mike C" <smith(dot)not(dot)western(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: NZDT Question
Date: 2007-09-26 02:52:35
Message-ID: bd0eabd0709251952x1bbfd54do2b099812ade9abe3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I've just upgraded from Postgres 8.1.0 to 8.1.10 to update the NZ
timezone changes, but it doesn't seem to make a difference (I've also
patched linux). Ideas?

Below is how I'm testing (artificially set time into future):

-bash-3.1$ date
Mon Oct 1 07:12:36 NZDT 2007
-bash-3.1$ psql test
Welcome to psql 8.1.10, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

business=# select now();
now
-------------------------------
2007-10-01 06:12:40.097244+12
(1 row)

business=# select current_timestamp;
now
-------------------------------
2007-10-01 06:12:43.697349+12
(1 row)

Note the 1 hour difference between postgres and date.

Regards,

Mike

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2007-09-26 03:17:50 Re: subquery/alias question
Previous Message Tom Lane 2007-09-26 02:44:40 Re: subquery/alias question