Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 3EEAA9066CF for ; Thu, 7 Jun 2012 16:05:20 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Sci1G-0003k7-I2 for pgsql-bugs@postgresql.org; Thu, 07 Jun 2012 19:05:19 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q57J56qI011475; Thu, 7 Jun 2012 15:05:06 -0400 (EDT) From: Tom Lane To: =?ISO-8859-1?Q?Kasper_R=F6nning?= cc: pgsql-bugs@postgresql.org Subject: Re: Issue when displaying TIMESTAMPTZ values In-reply-to: <4FD0F96A.80301@reliabit.fi> References: <4FD0B1C4.7040307@reliabit.fi> <8593.1339079838@sss.pgh.pa.us> <4FD0F96A.80301@reliabit.fi> Comments: In-reply-to =?ISO-8859-1?Q?Kasper_R=F6nning?= message dated "Thu, 07 Jun 2012 21:56:42 +0300" Date: Thu, 07 Jun 2012 15:05:05 -0400 Message-ID: <11474.1339095905@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/55 X-Sequence-Number: 33282 =?ISO-8859-1?Q?Kasper_R=F6nning?= writes: > Thank you for the quick reply! I was completely unaware of the old time > zones of Helsinki! However I'm afraid that the behaviour of Postgresql > seems plain wrong to me. An example: > SET TIME ZONE 'Europe/Helsinki'; > DROP TABLE IF EXISTS test1; > CREATE TABLE test1 (ts TIMESTAMPTZ); > INSERT INTO test1 VALUES ('0001-01-01 00:00:00'); > SELECT * FROM test1; > -- ts > -- ------------------------------ > -- 0001-01-01 00:00:00+01:39:52 > Here I enter a timestamp in Helsinki time zone, and the query result is > different, even though the time zone is the same. No, the query result is the same, it's just more fully specified. regards, tom lane