Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WckrA-0008LG-4u for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Apr 2014 00:16:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wckr9-0005rA-AN for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Apr 2014 00:16:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wckr8-0005r3-C3 for pgsql-bugs@postgresql.org; Wed, 23 Apr 2014 00:16:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wckr5-0004Fl-AN for pgsql-bugs@postgresql.org; Wed, 23 Apr 2014 00:16:05 +0000 MIME-Version: 1.0 Subject: BUG #10112: Timezone abbrevs and it history To: pgsql-bugs@postgresql.org From: eshkinkot@gmail.com Date: Wed, 23 Apr 2014 00:15:35 +0000 Message-ID: <20140423001535.2714.89878@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 10112 Logged by: Sergey Burladyan Email address: eshkinkot@gmail.com PostgreSQL version: 9.3.4 Operating system: Debian testing Description: May be this is correct today, because there is no DST in Russia today: select * from pg_timezone_abbrevs where abbrev in ('MSK', 'MSD'); abbrev | utc_offset | is_dst --------+------------+-------- MSD | 04:00:00 | t MSK | 04:00:00 | f but, for example, in 2009 it must be different, I think zdump -v Europe/Moscow | grep 2009 Europe/Moscow Sat Mar 28 22:59:59 2009 UTC = Sun Mar 29 01:59:59 2009 MSK isdst=0 gmtoff=10800 Europe/Moscow Sat Mar 28 23:00:00 2009 UTC = Sun Mar 29 03:00:00 2009 MSD isdst=1 gmtoff=14400 Europe/Moscow Sat Oct 24 22:59:59 2009 UTC = Sun Oct 25 02:59:59 2009 MSD isdst=1 gmtoff=14400 Europe/Moscow Sat Oct 24 23:00:00 2009 UTC = Sun Oct 25 02:00:00 2009 MSK isdst=0 gmtoff=10800 and 'Oct 25 02:15 MSD' (Oct 24 22:15:00 UTC) must not be equal to 'Oct 25 02:15 MSK' (Oct 24 23:15:00 UTC) but now it is equal: select 'Sun Oct 25 02:15:00 2009 MSD'::timestamptz = 'Sun Oct 25 02:15:00 2009 MSK'::timestamptz; ?column? ---------- t not sure, is this a bug or feature... -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs