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 1gIMzh-000051-Dq for pgsql-bugs@arkaria.postgresql.org; Fri, 02 Nov 2018 00:07:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gIMzf-0006uO-7J for pgsql-bugs@arkaria.postgresql.org; Fri, 02 Nov 2018 00:07:19 +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 1gIMze-0006u8-Tc for pgsql-bugs@lists.postgresql.org; Fri, 02 Nov 2018 00:07:19 +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 1gIMzc-0004CR-DP for pgsql-bugs@lists.postgresql.org; Fri, 02 Nov 2018 00:07:17 +0000 Received: from [192.168.127.1] (port=36904 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 1gIMzY-000Hro-Kw; Fri, 02 Nov 2018 00:07:12 +0000 Received: from [127.0.0.1] (port=14902 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gIMzX-000DLz-Vd; Fri, 02 Nov 2018 00:07:12 +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: (Paul Schaap's message of "Fri, 2 Nov 2018 10:52:31 +1100") Message-ID: <87ftwk4a50.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> <87o9b84es2.fsf@news-spur.riddles.org.uk> <87k1lw4bqz.fsf@news-spur.riddles.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Fri, 02 Nov 2018 00:07:11 +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> Here you go: This is looking like a bug in parallel hash. Do the queries all work if you do set enable_parallel_hash=false; ? (Going by the row counts in the explains, you got the first two "broken" and "working" ones backwards) -- Andrew.