Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlfTv-003qMz-AO for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Sep 2023 01:06:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qlfTt-0074sZ-B7 for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Sep 2023 01:06:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlfTt-0074sO-2V for pgsql-bugs@lists.postgresql.org; Thu, 28 Sep 2023 01:06:17 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlfTq-007zcZ-Gy for pgsql-bugs@lists.postgresql.org; Thu, 28 Sep 2023 01:06:16 +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 38S16Dgq802120; Wed, 27 Sep 2023 21:06:13 -0400 From: Tom Lane To: Bruce Momjian cc: Pete Storer , "pgsql-bugs@lists.postgresql.org" Subject: Re: FW: Query execution failure In-reply-to: References: <2957101.1674746628@sss.pgh.pa.us> <2961799.1674749201@sss.pgh.pa.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 27 Sep 2023 21:00:12 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <802118.1695863173.1@sss.pgh.pa.us> Date: Wed, 27 Sep 2023 21:06:13 -0400 Message-ID: <802119.1695863173@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > The attached patch documents this remote sort order requirement. That seems like quite a random place to insert the documentation. I doubt that the requirement applies only to upper paths -- FDWs are allowed to return sorted paths for base relations too, comparable to indexscan paths. regards, tom lane