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 1h1EH7-0003M0-T4 for pgsql-general@arkaria.postgresql.org; Tue, 05 Mar 2019 17:54:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1EH5-0008Qe-8f for pgsql-general@arkaria.postgresql.org; Tue, 05 Mar 2019 17:54:43 +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 1h1EH4-0008QW-T0 for pgsql-general@lists.postgresql.org; Tue, 05 Mar 2019 17:54:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1EH1-000195-40 for pgsql-general@lists.postgresql.org; Tue, 05 Mar 2019 17:54:40 +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 x25HsXDF022015; Tue, 5 Mar 2019 12:54:33 -0500 From: Tom Lane To: Andreas Kretschmer cc: pgsql-general@lists.postgresql.org Subject: Re: [External] LIMIT not showing all results In-reply-to: References: <85CFAA9E-E10B-4B1E-8C79-7793CC92BA82@deccio.net> <2AA9443B-57B7-4088-8B8F-957703E206F0@deccio.net> <2871.1551804378@sss.pgh.pa.us> Comments: In-reply-to Andreas Kretschmer message dated "Tue, 05 Mar 2019 18:37:40 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22013.1551808473.1@sss.pgh.pa.us> Date: Tue, 05 Mar 2019 12:54:33 -0500 Message-ID: <22014.1551808473@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andreas Kretschmer writes: > the other thing is, it would be nice to to know why the index is corrupt. Given that (a) this was triggered by a server migration and (b) the leading column of the index looks like it's probably varchar, I'm suspicious that the new server has different collation behavior. regards, tom lane