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 1wwhB5-0028y3-15 for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Aug 2026 14:22:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wwhB3-004QLj-0l for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Aug 2026 14:22:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wwhB2-004QLY-2X for pgsql-hackers@lists.postgresql.org; Wed, 19 Aug 2026 14:22:00 +0000 Received: from mail.postgrespro.ru ([93.174.132.70]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wwhAz-00000001PB7-2kHg for pgsql-hackers@lists.postgresql.org; Wed, 19 Aug 2026 14:21:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1787149315; bh=pfjtlvNTcT0DuXzGZUA/Rpq9uH/Mg57laJpAUYBSbF4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:From; b=q2xQQT5WSSesGuGJxm4PE6iu+YYfzdwhYZk6SCTLFGpA0RwvjqqFuLNBvW0IsQJnZ xNY4/quaKMHeGPGueiuuzDZHNXYdlMh6u+Qg/27uq58pCXUnYpcHOccehY6kuEhAHm yiMUf1E/OCb37+EQ62Vz6rebJ5mOMfkEtXvow7SscyH6BZJK8P51oEDWHd3o9xaBnJ nb7wYs2LwI5w9bGaCVncaJuvZcSir/5p9gUEFiRzdDWh9t5xOrtoEpp8sLJOv8l0ae 4AamS/qEEnNkMSR5SrWzs/y4VVz32Eegg9nBEO9DCbaS3DHrI5k9NhiUQwEf0zf88F iWCBF0zdhSJ9w== 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 7DA6C615EB; Wed, 19 Aug 2026 17:21:55 +0300 (MSK) MIME-Version: 1.0 Date: Wed, 19 Aug 2026 17:21:55 +0300 From: Alexander Pyhalov To: Anthonin Bonnefoy Cc: Alexander Korotkov , 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, bases: 2026/08/19 10:57:00 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/19 08:58:00 #28528309 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 Anthonin Bonnefoy писал(а) 2026-08-19 17:15: > Hi, > > It seems like this patch introduced a compilation warning[0]: > > postgres_fdw.c: In function 'postgresExplainForeignScan': > postgres_fdw.c:3221:36: error: 'relname' may be used uninitialized > [-Werror=maybe-uninitialized] > 3221 | if (relname == NULL || > strcmp(refname, relname) != 0) > | ^ > postgres_fdw.c:3132:45: note: 'relname' was declared here > 3132 | char *relname; > | ^~~~~~~ > > Setting relname to NULL during declaration fixes the warning and seems > to be the expected behavior? > > [0]: > https://github.com/postgres/postgres/actions/runs/32244563943/job/96042498375 > > Regards, > Anthonin Bonnefoy Yes, you are correct. Sorry, missed this fix... -- Best regards, Alexander Pyhalov, Postgres Professional