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 1h1F2C-0005fD-Ey for pgsql-general@arkaria.postgresql.org; Tue, 05 Mar 2019 18:43:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1F2B-0001PH-5P for pgsql-general@arkaria.postgresql.org; Tue, 05 Mar 2019 18:43:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1F2A-0001PA-Ti for pgsql-general@lists.postgresql.org; Tue, 05 Mar 2019 18:43:22 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1F29-0001mY-5R for pgsql-general@lists.postgresql.org; Tue, 05 Mar 2019 18:43:22 +0000 Received: from [192.168.178.20] (unknown [185.38.49.17]) by mail.i-mark.de (Postfix) with ESMTPSA id 4D67215805C0; Tue, 5 Mar 2019 19:43:15 +0100 (CET) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.17) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: [External] LIMIT not showing all results To: Matthew Pounsett , Tom Lane Cc: pgsql-general@lists.postgresql.org References: <85CFAA9E-E10B-4B1E-8C79-7793CC92BA82@deccio.net> <2AA9443B-57B7-4088-8B8F-957703E206F0@deccio.net> <2871.1551804378@sss.pgh.pa.us> <22014.1551808473@sss.pgh.pa.us> From: Andreas Kretschmer Message-ID: Date: Tue, 5 Mar 2019 19:43:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 05.03.19 um 19:09 schrieb Matthew Pounsett: > > > On Tue, 5 Mar 2019 at 12:54, Tom Lane > wrote: > > 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. > > > The migration in question was an rsync from a Debian 9 box > running 9.4.19-0+deb8u1 to a FreeBSD 11 box  running 9.4.20. yeah, check and compare the glibc - version on both systems. (ldd --version) Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com