Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YrstD-0008KL-8u for pgsql-bugs@arkaria.postgresql.org; Mon, 11 May 2015 18:57:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YrstC-0004jE-Oa for pgsql-bugs@arkaria.postgresql.org; Mon, 11 May 2015 18:57:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YrpKt-0002YW-00 for pgsql-bugs@postgresql.org; Mon, 11 May 2015 15:09:39 +0000 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YrpKp-0003WT-W1 for pgsql-bugs@postgresql.org; Mon, 11 May 2015 15:09:37 +0000 Received: by widdi4 with SMTP id di4so109525979wid.0 for ; Mon, 11 May 2015 08:09:34 -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=kASgKCAkANxAknP7joEQ/c5R3BHUJLyO8T3FYd2nNP0=; b=ZG/af0UU2220r3rKY+5or4U8aTTrW4kRc7CUXiSVnqbQJ/gNTyD/JaRmNE5eoEIs1I POQ07NZ/uEu8+a/wJg3VmS4o7jNeAYg9uKPdQBVoaLFH/zspdT5NpRATaxEZisTV7rjL DYRz5dbdZqgVDwN90z4njqd+uJupkhl3uxResqx8y38OvNU5dVf6GAUv2DENkCpbAb2m w87Dpm/mvo4rMqY/ktZzrMIOtwyy1i3CAuBXjMSovj7VxlsjKwWSJC4GUfekizUuvY8j IHaUxmj1e0n9G88RufQLqLKZ15r+YNPBwbA3ah47tordQtDHlixsTc4ZuZ/6bH61gaD+ PyBg== X-Received: by 10.181.13.144 with SMTP id ey16mr21696294wid.38.1431356974629; Mon, 11 May 2015 08:09:34 -0700 (PDT) Received: from klatch.company.net ([196.37.73.42]) by mx.google.com with ESMTPSA id k2sm239925wix.4.2015.05.11.08.09.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 08:09:34 -0700 (PDT) Message-ID: <5550C62B.6000903@gmail.com> Date: Mon, 11 May 2015 17:09:31 +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> In-Reply-To: <25209.1431355052@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 16:37, Tom Lane wrote: > berend.de.schouwer@gmail.com writes: >> Some timezone abbreviations are missing in Postgresql. For example, 'CAT' >> (Central African Time) > CAT is not in the default abbreviation set, but if you have a need for > it, you can add it to the set of abbreviations accepted by the server. See > http://www.postgresql.org/docs/9.3/static/datetime-config-files.html > Thank you for the response. We are working around the problem. We had already decided to stop using strings, but instead timestamp values and datetime constructs, etc. where possible. 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. It makes for unexpected bugs when the OS, Java and the DB have different locale and zoneinfo datasets. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs