Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ooPgG-0005Lw-34 for pgsql-general@arkaria.postgresql.org; Fri, 28 Oct 2022 13:45:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ooPgE-0000XL-Uw for pgsql-general@arkaria.postgresql.org; Fri, 28 Oct 2022 13:45:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ooPgE-0000XC-KG for pgsql-general@lists.postgresql.org; Fri, 28 Oct 2022 13:45:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ooPgC-0006EN-Hh for pgsql-general@lists.postgresql.org; Fri, 28 Oct 2022 13:45:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 29SDjkGG1195961; Fri, 28 Oct 2022 09:45:46 -0400 From: Tom Lane To: Vijaykumar Sampat Jain cc: pgsql-general@lists.postgresql.org Subject: Re: ERROR: could not find pathkey item to sort In-reply-to: References: Comments: In-reply-to Vijaykumar Sampat Jain message dated "Fri, 28 Oct 2022 15:31:53 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1195959.1666964746.1@sss.pgh.pa.us> Date: Fri, 28 Oct 2022 09:45:46 -0400 Message-ID: <1195960.1666964746@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Vijaykumar Sampat Jain writes: > I came across this error/crash when using partitioning of a table with > foreign tables (parquet_fdw) as partitions. > It might be an issue with parquet_fdw nothing with postgresql, but I am not > able to figure out why it crashes around the sorted option set. I think it's most likely a bug in parquet_fdw. We have tests of similar cases in postgres_fdw, and they work fine. regards, tom lane