Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3A3771337B4E for ; Mon, 7 Mar 2011 10:15:54 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 39697-09 for ; Mon, 7 Mar 2011 14:15:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from alibaba2.comgate.cz (mail3.comgate.cz [78.102.13.243]) by mail.postgresql.org (Postfix) with ESMTP id 994171337999 for ; Mon, 7 Mar 2011 10:15:46 -0400 (AST) Received: from mail-fx0-f49.google.com (mail-fx0-f49.google.com [209.85.161.49]) by alibaba2.comgate.cz (ComGateMailGW) with ESMTP id 98E1EEE4043 for ; Mon, 7 Mar 2011 15:15:45 +0100 (CET) Received: by fxm16 with SMTP id 16so4586699fxm.36 for ; Mon, 07 Mar 2011 06:15:45 -0800 (PST) Received: by 10.223.6.11 with SMTP id 11mr295032fax.103.1299507345378; Mon, 07 Mar 2011 06:15:45 -0800 (PST) Received: from [10.1.1.60] (mail2.comgate.cz [78.102.13.242]) by mx.google.com with ESMTPS id o17sm984091fal.25.2011.03.07.06.15.43 (version=SSLv3 cipher=OTHER); Mon, 07 Mar 2011 06:15:44 -0800 (PST) Message-ID: <4D74E88F.20306@comgate.cz> Date: Mon, 07 Mar 2011 15:15:43 +0100 From: Jakub Ouhrabka User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org CC: Robert Haas Subject: Re: Corrupted index on 9.0.3 streaming hot standby References: <4D679081.4020801@comgate.cz> <4D6FC45D.5030709@comgate.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/126 X-Sequence-Number: 29636 Hi, for the archives: the root cause is locale. Both linux/debian servers were set to the same locale (cs_CZ.UTF-8) but there is slightly different definition of this locale on those systems - once numbers are before letters and another time numbers are after letters. Then the index appears to be broken... So definitely it's not a postgresql bug. It'd be nice if there are some safeguards against this mismatch, although I don't know how to do it... Sorry for the noise. Kuba