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 1iKB6w-000392-Gc for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Oct 2019 00:54:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iJiei-0003rQ-HD for pgsql-hackers@arkaria.postgresql.org; Sun, 13 Oct 2019 18:31:48 +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 1iJidY-0003pR-Lu for pgsql-hackers@lists.postgresql.org; Sun, 13 Oct 2019 18:30:36 +0000 Received: from mail-io1-xd42.google.com ([2607:f8b0:4864:20::d42]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJidW-00080g-Rz for pgsql-hackers@lists.postgresql.org; Sun, 13 Oct 2019 18:30:36 +0000 Received: by mail-io1-xd42.google.com with SMTP id h144so32754406iof.7 for ; Sun, 13 Oct 2019 11:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0GzUQD15ic2uUKrKwETTc0z+bv9/h2scuFByIAz5rYw=; b=yFeJN7wy0HILs9u9VR7sURycitufJ2u4N29CtidRSrmXVARorqSoHDvBDjzEfgqvkd qOjLNIA7eTJ++isQQ1Y5HrfkgQq3RV6lavM91bghx6Qh/4tJVmqNLvN6GD4+XbpMKCbS Gl80o2a7JbZbg+nK1AlXSw7oavklgk7jFgO4r1bM4pWA2pgReW6zioLlJ8oGGhPybtJC 93G+CSfwXyDfIpYRqlTcn59ePZwDLIw6EelQBxT8DlRlHCc+NBCU/0qwobT8vZsHtvRl wTh2f2o6nXuU8RCJ++C/7VWZjXmnndKU6KBMAj2KPSi1oG6zu16OXV97SfwvaoHdG1Al 9t2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0GzUQD15ic2uUKrKwETTc0z+bv9/h2scuFByIAz5rYw=; b=ClkKbeRdwSXljq1CrtjAEa/A80XcJlyw+ixTWaLaCVRvOSIr9y4k0exslmaQ9X4Imm +k/92zzm1uOQknBQaIe3gwph/YHZN2qT2asyfmuubXULgRcwzVDNdO9GqH5bjzxNcJTo hV5xwdB4P5EupnA6aR/KU4xaPuE+JpYHR3kfq2FX1isZbHygXI7xwV6rDNLfTZmuMoYz azxGmUmS4jFms4OkVnHxxgfRwKZbPeWxfDgQ/PrO6VZDU6nbbBGNWZnnTjHyJKRejS4M TXPPGnnkwDoqSA/GK47cHdo1SFEjKeLrXsF5voXziipf534d8bSRAGntj7ZLlrs1411/ q5Ow== X-Gm-Message-State: APjAAAUeofGisQSpFQXZRf5p/4fnbW/RPuiSfS6xPtEgwe70dyyt6Q55 7YojisEErqsf9jn8XtBfvoFt8A== X-Google-Smtp-Source: APXvYqxE1UonHNea9HMMhomsLyv+25BuaLPUZ90m56WhW1YTHfK713gRSKbhu4XMlsmJbprI8Q+ElQ== X-Received: by 2002:a6b:e411:: with SMTP id u17mr28980328iog.253.1570991432146; Sun, 13 Oct 2019 11:30:32 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id h4sm11454418iom.17.2019.10.13.11.30.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Oct 2019 11:30:31 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id 0B5E98011CB; Sun, 13 Oct 2019 13:30:29 -0500 (CDT) Date: Sun, 13 Oct 2019 13:30:29 -0500 From: Justin Pryzby To: Tom Lane Cc: pgsql-hackers@lists.postgresql.org, Amit Langote Subject: Re: v12.0: ERROR: could not find pathkey item to sort Message-ID: <20191013183029.GI4475@telsasoft.com> References: <20191011143703.GN10470@telsasoft.com> <17486.1570805317@sss.pgh.pa.us> <20191012222346.GB4475@telsasoft.com> <16802.1570989962@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16802.1570989962@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, Oct 13, 2019 at 02:06:02PM -0400, Tom Lane wrote: > Justin Pryzby writes: > > On Fri, Oct 11, 2019 at 10:48:37AM -0400, Tom Lane wrote: > >> Could you provide a self-contained test case please? > > > [ test case ] > > Oh, this is the same issue Amit described in > > https://www.postgresql.org/message-id/flat/CA%2BHiwqG2WVUGmLJqtR0tPFhniO%3DH%3D9qQ%2BZ3L_ZC%2BY3-EVQHFGg%40mail.gmail.com > > namely that we're not generating EquivalenceClass members corresponding > to sub-joins of a partitionwise join. > > Are you interested in helping to test the patches proposed there? Sure. Any requests other than testing that our original query works correctly and maybe endeavoring to read the patch ? BTW it probably should've been documented as an "Open Item" for v12. -- Justin Pryzby System Administrator Telsasoft +1-952-707-8581