Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJZAr-0002P3-QY for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Mar 2014 01:57:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WJZAr-0003xQ-7k for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Mar 2014 01:57:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJZAq-0003w6-5T for pgsql-bugs@postgresql.org; Sat, 01 Mar 2014 01:57:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJZAn-0002tA-Jw for pgsql-bugs@postgresql.org; Sat, 01 Mar 2014 01:57:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s211v43l028087; Fri, 28 Feb 2014 20:57:04 -0500 From: Tom Lane To: mark.a.sloan@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9374: some timzone abbver is missing from pg_timezone_abbrevs that are in pg_timezone_names In-reply-to: <20140227215258.29537.95425@wrigleys.postgresql.org> References: <20140227215258.29537.95425@wrigleys.postgresql.org> Comments: In-reply-to mark.a.sloan@gmail.com message dated "Thu, 27 Feb 2014 21:52:58 +0000" Date: Fri, 28 Feb 2014 20:57:04 -0500 Message-ID: <28086.1393639024@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 mark.a.sloan@gmail.com writes: > postgres=# SELECT * FROM pg_timezone_names where abbrev = 'WIB' ; > name | abbrev | utc_offset | is_dst > ----------------------+--------+------------+-------- > posix/Asia/Pontianak | WIB | 07:00:00 | f > posix/Asia/Jakarta | WIB | 07:00:00 | f > Asia/Pontianak | WIB | 07:00:00 | f > Asia/Jakarta | WIB | 07:00:00 | f > (4 rows) > postgres=# SELECT * FROM pg_timezone_abbrevs where abbrev = 'WIB' ; > abbrev | utc_offset | is_dst > --------+------------+-------- > (0 rows) This is not a bug. pg_timezone_abbrevs only lists abbreviations that are listed in the file selected by the timezone_abbreviations parameter. The default file doesn't contain WIB. You can if you like add it, or maybe better make up a custom abbreviations file tuned to your particular needs. While we haven't got a hard and fast policy about which timezone abbreviations to list in the default set, there are good reasons not to list uncommonly used ones: the more abbreviations are in the file, the greater chance of accepting typos as valid input. And we're definitely going to be cautious about including abbreviations that mean different things in different parts of the world, which is an issue for several of the "missing" ones you listed. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs