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 1gILQS-0004L1-Lq for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Nov 2018 22:26:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gILQQ-0004is-Lc for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Nov 2018 22:26:50 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1gILQ9-0003LX-Hk for pgsql-bugs@lists.postgresql.org; Thu, 01 Nov 2018 22:26:33 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gILQ5-00058j-Ni for pgsql-bugs@lists.postgresql.org; Thu, 01 Nov 2018 22:26:32 +0000 Received: from [192.168.127.1] (port=34702 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 1gILQ2-000Hj3-Sb; Thu, 01 Nov 2018 22:26:26 +0000 Received: from [127.0.0.1] (port=46889 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gILQ2-000Cte-1i; Thu, 01 Nov 2018 22:26:26 +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: <21207C8F-9952-4AD7-B8A1-97B490725011@ipggroup.com> (Paul Schaap's message of "Fri, 2 Nov 2018 08:24:37 +1100") Message-ID: <87o9b84es2.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> <87zhus4xg5.fsf@news-spur.riddles.org.uk> <21207C8F-9952-4AD7-B8A1-97B490725011@ipggroup.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Thu, 01 Nov 2018 22:26:24 +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 Andrew, Paul> Yes there are indexes on both tables, and the issue only shows up Paul> with high volumes. Does it show up with low volumes too if you do set enable_seqscan=false; Paul> Note I have subsequently isolated the issue down to a pg_dump 10 Paul> to pg_restore 11 using -Fc. No, I don't think you have. In particular, it's not plausible that using -Fc makes any substantive difference, since the commands run for the restore will not be any different to restoring a plain-text dump. -- Andrew.