Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gIF87-0000Ta-WA for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Nov 2018 15:43:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gIF85-0007hp-SQ for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Nov 2018 15:43:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gIF85-0007hi-IK for pgsql-bugs@lists.postgresql.org; Thu, 01 Nov 2018 15:43:29 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gIF7y-0001I1-U8 for pgsql-bugs@lists.postgresql.org; Thu, 01 Nov 2018 15:43:28 +0000 Received: from [192.168.127.1] (port=29336 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1gIF7w-000HAG-2G; Thu, 01 Nov 2018 15:43:20 +0000 Received: from [127.0.0.1] (port=23982 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gIF7v-000B6a-CX; Thu, 01 Nov 2018 15:43:19 +0000 From: Andrew Gierth To: Paul Schaap Cc: Jeff Janes , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15475: Views over CITEXT columns return no data In-Reply-To: <19F765FE-34CC-4081-BFED-DFA2D38BF3BD@ipggroup.com> (Paul Schaap's message of "Thu, 1 Nov 2018 12:48:43 +1100") Message-ID: <87zhus4xg5.fsf@news-spur.riddles.org.uk> References: <15475-11a7a783fed72a36@postgresql.org> <40F193E8-0927-4B6A-96E0-7EC5603DC19A@ipggroup.com> <19F765FE-34CC-4081-BFED-DFA2D38BF3BD@ipggroup.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Thu, 01 Nov 2018 15:43:19 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Paul" == Paul Schaap writes: Paul> Hi Jeff, Paul> I have it now but it might be difficult for you to reproduce. Paul> 1) pg_dump a lookup table from a Postgres 10(.5) with -Fc and Paul> pg_restore to Postgres 11 Paul> 2) Join to the table in a view, but when you join do an INTEGER Paul> cast Paul> 3) Test with different quantities of data as it works with Paul> smaller quantities of data, but fails with larger: Are there any indexes on either table? -- Andrew (irc:RhodiumToad)