Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YsBSl-000702-V8 for pgsql-bugs@arkaria.postgresql.org; Tue, 12 May 2015 14:47:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YsBSk-0002lD-CT for pgsql-bugs@arkaria.postgresql.org; Tue, 12 May 2015 14:47:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Ys8GR-0003nt-GM for pgsql-bugs@postgresql.org; Tue, 12 May 2015 11:22:19 +0000 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Ys8GN-0000y5-AU for pgsql-bugs@postgresql.org; Tue, 12 May 2015 11:22:17 +0000 Received: by wggj6 with SMTP id j6so5476207wgg.3 for ; Tue, 12 May 2015 04:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=fLhdJ2zX5+t6mZEPfyjT9FxjFy0QTN1D31oXc+bkrLw=; b=TwHks03OW23eXoiNJu9tjOcD+P5A4Elh6yETNJzjomhY7b5HuIT9yrUDbJFZMkyD5x 9/c8oQ1U1AXJCI+j64Mb46JPIyG8O77HvE6NGls+WRJZn74ZYIUNm0w30G8wwL6OdqBp Vbv9slRR7lwdZAtFHZo/SadEKm28aSQDrzU+deVkhSps9dIOuaxlZYa2xFQ6Y+DjZ5Tr 7MtcvXh9ry8zdYMhQKXkbydfRpm+OYQ6m6Ft0FT6pqR3+Hx5RLNVztzbh2awZNSCIkUI eBkIhTSuVE061nyQjBA0R6/KJYMOukq+0A4tqYOV+Z+EWMDFwbTC9jRKUPLnts8XL+fK bAwQ== X-Received: by 10.180.24.65 with SMTP id s1mr4241829wif.66.1431429732590; Tue, 12 May 2015 04:22:12 -0700 (PDT) Received: from klatch.company.net ([196.37.73.42]) by mx.google.com with ESMTPSA id be3sm2365101wib.21.2015.05.12.04.22.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2015 04:22:11 -0700 (PDT) Message-ID: <5551E261.4010603@gmail.com> Date: Tue, 12 May 2015 13:22:09 +0200 From: Berend De Schouwer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: BUG #13267: Some timezones in pg_timezone_names are missing in pg_timezone_abbrevs References: <20150511085606.1089.6198@wrigleys.postgresql.org> <25209.1431355052@sss.pgh.pa.us> <5550C62B.6000903@gmail.com> <26961.1431357795@sss.pgh.pa.us> In-Reply-To: <26961.1431357795@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) 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 On 11/05/2015 17:23, Tom Lane wrote: > Berend De Schouwer writes: >> I was just surprised to see that the list of abbrevs in _names is >> different from the list of abbrevs in _abbrevs. I would have expected >> the lists to be identical. > Unfortunately not. If you look a bit closer you will note that many > time zones use the very same abbreviation for entirely different UTC > offsets, so we could not possibly make those mappings be inverses. That's a surprise and a bummer. Ooh. OK, that's a very good reason. > Another reason for limiting what the server will accept is to reduce > the scope for errors: even though there is only one meaning for "CAT" > anywhere in the world, if you are not in Africa then it's quite likely > that such a string is a typo (perhaps for "CST", which is only one key > away) and not intended input. That argument goes both ways :) Anyway, the server isn't necessarily next to the client, or even on the same continent. Thanks for the help. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs