Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGle1-00033F-Qf for pgsql-general@arkaria.postgresql.org; Wed, 17 Apr 2019 14:34:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hGle0-0002YO-3C for pgsql-general@arkaria.postgresql.org; Wed, 17 Apr 2019 14:34:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGldz-0002VJ-LN for pgsql-general@lists.postgresql.org; Wed, 17 Apr 2019 14:34:35 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGldx-0004PU-6j for pgsql-general@lists.postgresql.org; Wed, 17 Apr 2019 14:34:34 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 761E721C08; Wed, 17 Apr 2019 10:34:32 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 17 Apr 2019 10:34:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=i wRLCDTp6Y0FXHABX7Kjg0TiMhxTwgDyhCYX86/BaM4=; b=PUutcHntR2Quzz/7I APHuU+VggaC6STVMUmqBYERfRpKj5eLsVTLW64MFmOERcKrDDTPb6s8oOKOS549X az4ns/WA7oyh7JK9xtxVf8fbG7tWAS4aEEZiRVPNK07mWr7sRcWB6oHq/ulHqUwU JHJ5eyB3kLRYYGm0cVSmBlIP7xMFIDkSCZX8bGj0XYkgIFwDmNUcYiIKzxR9rwB3 gtt8YT4Pt4jbp1/zMhFzftBGTXl5dtiuLKepJqLOaFB/kUbL24Zkv9j87JjP9Vb8 uy2XM1RKfqjSgyRf6rfPakqvt/KmlCitz9dxSEC/ZjwACToaSnQpfd/HNH+MiPTY GI0kg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=iwRLCDTp6Y0FXHABX7Kjg0TiMhxTwgDyhCYX86/Ba M4=; b=0b50gjqwfOHPVpq3JUyudrs+SjhhLsGI9SCGLOc0I4mqjLWdsBV2Bv06x 3FgcpIBrGK4SJ9X7esCXGH1CI1/TskzTOy5SIqsl5GA7yUcYpZIbKpu+JlbZivpb CQeQnBmtDnKEeyOt0qK8+QuPAF0+Xxy8PTgXv8hLHAH8ru+eqewnfKclIuJsz4ew mrVAvHy2PH73iSgWJFETej9iZzFdJnLnkGzC6jw8FY5zeElwI+220izeZOV6EPpz tHmjAFlj/UWjEvlw5jY1us2EVV+3LnJhEr4tODl9bSPQo2jG4rDUpqBWqnTVisM3 k4XkMG4ZtncYd5OGI6vZUTmnxJvtw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrfeefgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id ED9C3103C9; Wed, 17 Apr 2019 10:34:30 -0400 (EDT) Subject: Re: Possible corrupt index? To: Zahir Lalani , Michael Lewis Cc: "pgsql-general@lists.postgresql.org" References: <3275482c-4638-6f22-d480-bbc8fe6b9d2c@aklaver.com> <88f2b050-a02a-4ddf-7826-0cb311af0677@aklaver.com> From: Adrian Klaver Message-ID: Date: Wed, 17 Apr 2019 07:34:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 4/17/19 7:28 AM, Zahir Lalani wrote: > >> Any changes occur between the time it worked and the time it did not? >> Say a crash, change in schema, new data added and so on. > > Not as far as we can tell - one of my DB team noticed it day before yesterday - there were no tell tale signs of any issues but we have seen issues yesterday with certain records not being found Does that including looking at the logs? > >> Per below the version 10 servers use en_GB.UTF_8 and the production one en_US.UTF-8. >> Why the difference? >> And did the production used to be en_GB.UTF_8? > > All servers used to be en_US as I think that was the default and had been setup early in our use of PG. I suspect our devops guy corrected this during the upgrade. Did that extend to fiddling with the locale on the production machine? > >> Have you logged into the production instance using psql and tried the queries to see if they work? > Not via psql, but as I said we saw issues from our app layer. I will do a similar test with psql and let you know > > > Z > -- Adrian Klaver adrian.klaver@aklaver.com