BUG #5354: Type timestamptz doesn't allow to store time zone

From: "Vitali" <vitali(at)lumensoftware(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5354: Type timestamptz doesn't allow to store time zone
Date: 2010-03-01 15:52:42
Message-ID: 201003011552.o21Fqg3e029063@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5354
Logged by: Vitali
Email address: vitali(at)lumensoftware(dot)com
PostgreSQL version: 8.1.x 8.2.x
Operating system: Windows, Linux
Description: Type timestamptz doesn't allow to store time zone
Details:

I have a table:

CREATE TABLE test (
set_dt timestamptz,
set_tm timetz
) WITH OIDS;

I do insert into this table:

INSERT INTO test(set_dt, set_tm)
VALUES('2010-01-01 10:00+02', '10:00+02')

When I select from the table, the timetz has the correct time zone, the
timestamptz has -6 as a time zone, which is my server default.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-03-01 15:55:04 Re: BUG #5353: Bug in procedure When you modificate table
Previous Message Tom Lane 2010-03-01 15:49:07 Re: BUG #5352: Bug in PL/PgSQL "SELECT .. INTO" statement parser