pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Pyhalov <a.pyhalov@postgrespro.ru>
To: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Cc: Alexander Korotkov <aekorotkov@gmail.com>
Cc: solaimurugan vellaipandiyan <drsolaimurugan.v@gmail.com>
Cc: Álvaro Herrera <alvherre@kurilemu.de>
Cc: g.kashkin@postgrespro.ru, Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Function scan FDW pushdown
Date: Wed, 19 Aug 2026 17:21:55 +0300
Message-ID: <f29ef461267372c23e06ad9ad687f395@postgrespro.ru> (raw)
In-Reply-To: <CAO6_XqrGH2NRe0oFx_00nLXra1UZezd3jbS9pgoRhZtgzHD9gg@mail.gmail.com>
References: <202508051955.sao7ucalcce7@alvherre.pgsql>
	<e3af56f9b2f1bd9fdf12aff6ca25b18d@postgrespro.ru>
	<c42480257bc3350c20749f6c0362826c@postgrespro.ru>
	<CAHEL7KQU_=iKQU3dGMV+6vOBWkh=i5g7speEU=VVziRu=3v1Tw@mail.gmail.com>
	<b91abe323f12f4210a53feb1ead3ac0d@postgrespro.ru>
	<CAPpHfdvz=ahOKEnu4OZ_z3JjQQVddgsNti4FX8SmAKCxmh80BQ@mail.gmail.com>
	<7e2abeb3ea9bc7ca024f4e457dce33f5@postgrespro.ru>
	<CAPpHfduVg4-6U=oDyBLGV53nU6bVfF+3yqVo9s09TpRSjgMDWw@mail.gmail.com>
	<b02d45f5484fedb7e32acbed44abb8f6@postgrespro.ru>
	<CAPpHfdvkPk0dLFbF-2DG7hV5zKNPcdyV4Xzj99chYiqAFtvh_Q@mail.gmail.com>
	<e0765907e8073c105c76134b5eb6b39b@postgrespro.ru>
	<CAPpHfduLKwM=Jj-0q+vWiwNOLYfhJQFs+c-YPF8=voPD1M_trQ@mail.gmail.com>
	<214e7cb76a9f142a08246660a649ca0b@postgrespro.ru>
	<CAPpHfdtxrvDkGsdxEnaGB4f2apHnHHS0BPySYgZ39gFoBt1F=g@mail.gmail.com>
	<2dcab8ff39f8c6f88ecfa3cfb54d8180@postgrespro.ru>
	<CAPpHfdvhMtkY-MJ5M3_JjN5wPA7_ZoYw_vmdm97ZEvQ33rCT0g@mail.gmail.com>
	<2828ce456ded46a41cd225a1cc393526@postgrespro.ru>
	<CAPpHfdv99rqDdZOmo6onNaFkvW_ETj0yVW90yRpNxVtM1iFgWg@mail.gmail.com>
	<c6de48bf1f09e2c1a22b5f680d4d9099@postgrespro.ru>
	<CAPpHfdubqtP-hMGO7rstR2iUCdq=jOWwy=9p0cdJZHi0BMpJoQ@mail.gmail.com>
	<CAO6_XqrGH2NRe0oFx_00nLXra1UZezd3jbS9pgoRhZtgzHD9gg@mail.gmail.com>

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






view thread (36+ messages)  latest in thread

Message-ID: <f29ef461267372c23e06ad9ad687f395@postgrespro.ru>
Permalink:  ../f29ef461267372c23e06ad9ad687f395@postgrespro.ru/
Also on:    postgresql.org/message-id/f29ef461267372c23e06ad9ad687f395@postgrespro.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: a.pyhalov@postgrespro.ru, anthonin.bonnefoy@datadoghq.com, aekorotkov@gmail.com, drsolaimurugan.v@gmail.com, alvherre@kurilemu.de, ashutosh.bapat.oss@gmail.com
  Subject: Re: Function scan FDW pushdown
  In-Reply-To: <f29ef461267372c23e06ad9ad687f395@postgrespro.ru>
  References: <202508051955.sao7ucalcce7@alvherre.pgsql> <CAPpHfduVg4-6U=oDyBLGV53nU6bVfF+3yqVo9s09TpRSjgMDWw@mail.gmail.com> <b02d45f5484fedb7e32acbed44abb8f6@postgrespro.ru> <CAPpHfdvkPk0dLFbF-2DG7hV5zKNPcdyV4Xzj99chYiqAFtvh_Q@mail.gmail.com> <e0765907e8073c105c76134b5eb6b39b@postgrespro.ru> <CAPpHfduLKwM=Jj-0q+vWiwNOLYfhJQFs+c-YPF8=voPD1M_trQ@mail.gmail.com> <214e7cb76a9f142a08246660a649ca0b@postgrespro.ru> <CAPpHfdtxrvDkGsdxEnaGB4f2apHnHHS0BPySYgZ39gFoBt1F=g@mail.gmail.com> <2dcab8ff39f8c6f88ecfa3cfb54d8180@postgrespro.ru> <CAPpHfdvhMtkY-MJ5M3_JjN5wPA7_ZoYw_vmdm97ZEvQ33rCT0g@mail.gmail.com> <2828ce456ded46a41cd225a1cc393526@postgrespro.ru> <CAPpHfdv99rqDdZOmo6onNaFkvW_ETj0yVW90yRpNxVtM1iFgWg@mail.gmail.com> <c6de48bf1f09e2c1a22b5f680d4d9099@postgrespro.ru> <CAPpHfdubqtP-hMGO7rstR2iUCdq=jOWwy=9p0cdJZHi0BMpJoQ@mail.gmail.com> <CAO6_XqrGH2NRe0oFx_00nLXra1UZezd3jbS9pgoRhZtgzHD9gg@mail.gmail.com> <f29ef461267372c23e06ad9ad687f395@postgrespro.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox