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.96) (envelope-from ) id 1wvrHV-001ZoR-2k for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Aug 2026 06:57:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wvrHT-008K2k-10 for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Aug 2026 06:57:12 +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.96) (envelope-from ) id 1wvrHS-008K2c-2m for pgsql-hackers@lists.postgresql.org; Mon, 17 Aug 2026 06:57:12 +0000 Received: from mail.postgrespro.ru ([93.174.132.70]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wvrHR-00000001Ajw-1Jri for pgsql-hackers@lists.postgresql.org; Mon, 17 Aug 2026 06:57:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1786949829; bh=Gc6KxhU51WnzsHxj3ZhDt1g8P/S1OkGwxkeRR6rGCoA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:From; b=ryb9Jq09PzRXgB43oU2jYJRJ+K+W0khI3TfpmX6YhZaopRJpazML9FVOHlN/escUP mPGSV1HM1LEA24UGp2G0sRO8EQ+tf+Y47yl5x79RKuyR+y3lhmqjnR7Ni7D//5jB+v CS0y8/w8Pjjet62nsdZ1rwI1dNTGPENGro3cj0N1s0zC1yyVfJ603H5uZkTwXQWN0/ y/Appw/xd6ntwIsv9aeGDbXELVK8SpQu39L4lSmJnmIuwlF4ZDAQ11to2t5tduPNWE YtOPh3KdlUB2ouy247BAL8CWfr6EaZ/LKfOEIImdi5PAP/uSl010GNjZhQQ/km0GSw UAR2fHvLsWdpg== Received: from mail.l.postgrespro.ru (webmail-master-mstn.l.postgrespro.ru [192.168.2.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: a.pyhalov@postgrespro.ru) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id EBCEF61A5A; Mon, 17 Aug 2026 09:57:08 +0300 (MSK) MIME-Version: 1.0 Date: Mon, 17 Aug 2026 09:57:08 +0300 From: Alexander Pyhalov To: Alexander Korotkov Cc: solaimurugan vellaipandiyan , =?UTF-8?Q?=C3=81lvaro_Herrera?= , g.kashkin@postgrespro.ru, Ashutosh Bapat , PostgreSQL Hackers Subject: Re: Function scan FDW pushdown In-Reply-To: References: <202508051955.sao7ucalcce7@alvherre.pgsql> <7e2abeb3ea9bc7ca024f4e457dce33f5@postgrespro.ru> <214e7cb76a9f142a08246660a649ca0b@postgrespro.ru> <2dcab8ff39f8c6f88ecfa3cfb54d8180@postgrespro.ru> <2828ce456ded46a41cd225a1cc393526@postgrespro.ru> Message-ID: X-Sender: a.pyhalov@postgrespro.ru Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-KSMG-AntiPhishing: NotDetected X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 3.0.0.9059, bases: 2026/08/17 03:03:00 #28682208 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexander Korotkov писал(а) 2026-08-15 03:49: > Hi! > >> Hi. I've updated comment a bit, as we currently have to handle NULL >> records correctly, >> this is not a nice-to-have feature which we need for future changes to >> be more safe. > > Thank you. I've further improved that comment. Also, I've revised the > cost calculation in init_func_stub_fpinfo() to reflect the cost of the > function execution on the remote side. I have to edit the regression > test query to reliably exercise the pushdown. > > ------ > Regards, > Alexander Korotkov > Supabase Hi. Looks good to me. -- Best regards, Alexander Pyhalov, Postgres Professional